Home > Interview Questions > .Net Framework > What is Execute Scalar? How many values are return? single value or Multiple value

What is Execute Scalar? How many values are return? single value or Multiple value

by angappan   on 06/12/2013   Category: .Net Framework   |  Level: Beginner   |  Views: 5371    |  Points: 25     |  Bronze 


Execute Scalar is return the Single column values.

when we need to get single values we can use Execute scalar.

Example: find sum of salary amount for all employees?
We can get only single column values so we use Execute Scalar.


« What is Difference between Function and Store Procedure
» what is difference between delete and truncate
Post Question  |  Question Home

Recent Posts

User Responses


No response found, be the first to review this question.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts