Which of these is the fastest way of returning the total number of
sales figures from a database table?

 Posted by Ddd on 1/16/2011 | Category: ADO.NET Interview questions | Views: 8145 | Points: 40
Select from following answers:
  1. Write adhoc query and call the SqlCommand.ExecuteScalar() method
  2. Writing stored procedure in the SqlDataAdapter constructor
  3. Writing stored procedure and call the SqlCommand.ExecuteScalar() method
  4. none of these
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response