Options in ConnectionString?

  • Thread starter Thread starter SLE
  • Start date Start date
S

SLE

Hi there,

Is it possible to specify options (e.g. SET NOCOUNT ON) in the
SQLConnection.ConnectionString and if so, how?


Thanks,
SLE
 
No, executable TSQL (or SQL) cannot be placed in the ConnectionString. It's
handled by the data provider, not the query engine.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 

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