Scalar vs Reader Exec Method

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

Is there any advantage of using scalar execution method for data adapter if
the result is going to be a single record?

Thanks

Regards
 
Scalar only gives you back the first field from the first record, so if you
want the whole record, don't use scalar.

Scalar is generally good for when you are calling a user function in the DB
to get back a single result.

-Scott
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top