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 2000 Forums
 SQL Server Development (2000)
 Calling stored procedure on another SQL server

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-01-20 : 07:15:29
Burt Webb writes "How do I use a stored procedure on one SQL server to fire a stored procedure on another SQL server? I have been able to send SQL queries from one SQL server to another but have not been able to fire a stored procedure on the second server."

Kristen
Test

22859 Posts

Posted - 2005-01-20 : 07:45:45
Set up a Linked Server, then use 4 part naming:

EXEC LinkedServerName.RemoteDatabaseName.dbo.RemoteSProcName

Kristen
Go to Top of Page
   

- Advertisement -