Hi,
This is a very basic question. I have a SQL Server 2005 server and have successfully created a dblink to a SQL Server 2000 server. In SSMS I can see all the tables on the 2000 server, but need help with creating a simple select statement. Here is my select statment that does not work:
user master
select * from TEST-GP.[mydatabasename].d
bo.[mytabl
ename]
i get this error:
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '-'.
Thanks!
Start Free Trial