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.
__________________________________
 
Back
Top