GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet

 Print  |  
Question:  Execute scalar

Answer: What is the purpose of Execute scalar method of Command object ?


December 12, 2008 14:33:46 #2
 varung4   Member Since: December 2008    Total Comments: 2 

RE: Execute scalar
 
Execute Scaler returns the value of first cell of the result. thats why mainly used to get the value of aggregate functions like sum,count,min,max etc.

Thanks
JpkVirus
     

 

Back To Question