[Microsoft][ODBC SQL Server Driver]Incorrect syntax near '\'

M

mCompany

I'm receiving this error when executing a SQL statement with the
connection string below. The exact same code works when
"server=MyServer" rather than "MyServer\MSDE1". It appears to be a
problem with the instance. Any ideas?


[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax
near '\'.


driver={SQL
Server};server=MyServer\MSDE1;database=Main;uid=test;pwd=abc123;Network=
dbmssocn;Connect Timeout = 60;
 

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

Top