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
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Coonect to another server

Author  Topic 

johnoxy
Starting Member

10 Posts

Posted - 2007-03-21 : 18:54:00
Hi
What i want to do is collect data from another sql server from within my stored procedure. Can this be done? I can't find the answer anywhere.

Cheers

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-03-21 : 18:57:18
You can use Linked Server. Refer to Books Online for more detail


KH

Go to Top of Page

johnoxy
Starting Member

10 Posts

Posted - 2007-03-21 : 19:09:36
thanks mate
Go to Top of Page

johnoxy
Starting Member

10 Posts

Posted - 2007-03-21 : 19:20:15
Hi
I am not a member of sysadmins so can't execute sp_addlinkedserver. Is there any other way available?

Cheers
J
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-03-21 : 21:46:48
ask the DBA to do it. You only have to do it once.


KH

Go to Top of Page
   

- Advertisement -