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

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

819


How to create data relations?

771


What is oledb connection?

745


What are the ado.net components?

795


What is the usage of the dataset object in ado.net?

734


Define data adapter?

724


What is ado and rdo?

713


What are the parameters that control most of connection pooling behaviours?

844


What is ado.net architecture?

710


What is the use of sqldatareader class?

708


Explain all the classes those are used for database connections between sql server and asp.net?

777


Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!

1902


What is the use of connection object in ado.net?

809


What is ole db and odbc?

723


What is the use of SqlCommandBuilder?

898