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
 How can I scedule a job to run SP remotely?

Author  Topic 

NJDba
Starting Member

31 Posts

Posted - 2008-03-07 : 15:12:54
Hi all SQL experts,

I am scheduling a job which need to run a store procedure on the other server. How can I do that?

Thanks a lot.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-03-07 : 15:21:52
You can execute the remote stored procedure via a linked server. Once you've added the linked server, use the four-part naming convention for the object: EXEC LinkedServerName.DatabaseName.OwnerName.StoredProcedureName

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -