Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL connection string help

Status
Not open for further replies.

markknowsley

Programmer
Joined
Aug 30, 2005
Messages
152
Location
GB
We've got a SQL cluster which has two servers:

VirtualName01\Database01
VirtualName02\Database02

Can someone tell me how to put this into a SQL connection string in C#? The compiler does not like the '\' but if I try using just the VirtualName the SQL server isn't found.

 
you may wish to try the SQL Server forum, forum183

this forum is for ANSI SQL

r937.com | rudy.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top