what is execute scalar?

Answer Posted / prabhat saxena

execute scalar return a object type value, by defalut it
will return first row of fst column value, mostly we used
it with aggregate function like sum(),max(),min(),avg()....

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a non query?

508


Explain what are the steps to connect to a database?

485


What is basic use of data view?

502


Which object needs to be closed?

1731


Which is faster entity framework or ado.net?

491






How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

558


Define data access layer?

519


What is maximum pool size in ado.net connection string?

487


What is ado.net tutorial?

495


How to find the given query is optimised one or not?

498


Explain which name space is used to get assembly details?

517


What are two important objects of ADO.Net?

543


What is oledb connection?

499


Which is faster datareader or dataadapter?

517


What are the steps to connect to a database?

536