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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 linked server named instance queries

Author  Topic 

petebob796
Starting Member

35 Posts

Posted - 2008-02-23 : 23:23:26
I am trying to perform a distributed query however have a situation I haven't dealt with before the linked server I add to do the query is a named instance (DVD_NAS\DOMINO). How would I specify this in a query as in the FROM part in a sql statement. I tried the obvious DVD_NAS\DOMINO.qlsdat.dbo.stmenqry and DVD_NAS.DOMINO.qlsdat.dbo.stmenqry.
Both returned errors in the query.

Thanks for the help.

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-02-23 : 23:47:39
Try this:
first configure linked server:

[DVD_NAS\DOMINO].qlsdat.dbo.stmenqry
Go to Top of Page
   

- Advertisement -