what is execute scalar?

Answer Posted / tonny

Executes the query, and returns the first column of the
first row in the result set returned by the query.
Additional columns or rows are ignored.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different ado.net namespaces are available in .net?

496


Explain how to find the given query is optimised one or not?

515


Define isolation?

537


What is sql connection in ado.net?

500


What are the rules to implement connection pooling?

510






How to Read, Add, Update and Delete record in Entity Framework ?

568


What is the hierarchy of data in databases?

502


What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

540


What is XML serialization

590


What is the difference between the clone() and copy() methods of the dataset class?

549


What is the use of SqlCommand object?

649


How to create data relations?

550


List all the steps in order, to access a database through ado.net?

588


Why is it important to close an ado.net application?

532


What are the benefits of using ado.net?

518