What is the fastest way to return this information from your program?

Your C# program needs to return the total number of customers in a SQL Server database. The program will be used several times a day. What is the fastest way to return this information from your program? (Select all answers that apply.)
A. Write a SQL query.
B. Write a stored procedure.
C. Use the SqlDataAdapter.Fill method.
D. Use the SqlCommand.ExecuteScalar method.
E. Use the OleDbDataAdapter.Fill method.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.