-
SELECT Statement
I would like to select data from another server. What is the syntax??
Eg.
Select * from database1..table1
Where should I put the server name??
Thanks in advance!
-
SELECT Statement (reply)
Assuming you have created the linked server, use this:
select * from otherserver.database1..table1
------------
Vic at 3/7/01 10:16:23 AM
I would like to select data from another server. What is the syntax??
Eg.
Select * from database1..table1
Where should I put the server name??
Thanks in advance!
-
SELECT Statement (reply)
how do I create the linked server??
------------
Jim W at 3/7/01 10:19:01 AM
Assuming you have created the linked server, use this:
select * from otherserver.database1..table1
------------
Vic at 3/7/01 10:16:23 AM
I would like to select data from another server. What is the syntax??
Eg.
Select * from database1..table1
Where should I put the server name??
Thanks in advance!
-
SELECT Statement (reply)
look up sp_addlinkedserevr in books online.
------------
Vic at 3/7/01 10:22:15 AM
how do I create the linked server??
------------
Jim W at 3/7/01 10:19:01 AM
Assuming you have created the linked server, use this:
select * from otherserver.database1..table1
------------
Vic at 3/7/01 10:16:23 AM
I would like to select data from another server. What is the syntax??
Eg.
Select * from database1..table1
Where should I put the server name??
Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|