What method is used by the Command classes to execute SQL statements that return single values?



What method is used by the Command classes to execute SQL statements that return single values?..

Answer / Suchita Kumari

The ExecuteScalar() method is used by the Command classes in ADO.NET to execute SQL statements that return a single value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

what is dbcc? : Sql server database administration

1 Answers  


Explain about local stored procedure?

1 Answers  


Explain the different types of joins?

1 Answers  


What is candidate key with example?

1 Answers  


What is not null constraint?

1 Answers  


How to disconnect from a sql server using mssql_close()?

1 Answers  


How you can move data or databases between servers and databases in sql server?

1 Answers  


explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration

1 Answers  


Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many

1 Answers  


How to find the version of sql server? : sql server database administration

1 Answers  


To which devices can a backup be created and where should these devices be located? : sql server management studio

1 Answers  


what is difference between primary key and Unique

8 Answers  


Categories