nerdexam
GIAC

GSSP-NET · Question #172

Mark works as a Software Developer for CyberNet Inc. He develops a serviced component, named MyComponent1, using Visual Studio .NET. MyComponent1 uses a SQL Server database. In the code, Mark uses…

The correct answer is C. An integer type value. See the full explanation below for the reasoning.

Question

Mark works as a Software Developer for CyberNet Inc. He develops a serviced component, named MyComponent1, using Visual Studio .NET. MyComponent1 uses a SQL Server database. In the code, Mark uses the ExecuteNonQuery method of the SqlCommand class to execute a Transact- SQL statement. Which of the following values will the ExecuteNonQuery method return?

Options

  • AA string type value
  • BA boolean type value
  • CAn integer type value
  • DA double type value

How the community answered

(16 responses)
  • A
    13% (2)
  • B
    6% (1)
  • C
    75% (12)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice