Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jpham
Starting Member
19 Posts |
Posted - 2006-10-02 : 21:42:06
|
Hi All,I want to get the database from my remote server for tablea using the link server by executing the following sql statement on my local server: select * from link-server.mydatabase.dbo.tableaThe errror message return back is:Server: Msg 170, Level 15, State 1, Line 1Line 1: Incorrect syntax near '-'.What is the problem? Can I select the data from my remote server using the link server?ThankJP |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2006-10-02 : 23:36:56
|
[code] select * from [link-server].mydatabase.dbo.tablea[/code] KH |
|
|
|
|
|