Skip to main content
Just cleaning up formatting
Source Link
Aaron Bertrand
  • 181.5k
  • 28
  • 402
  • 619

You can have the Sql Jobjob in a stored Procedure in server B.Add Add server B as linked server to Server A,Execute Execute the stored Procedure Procedure from server A EXEC [RemoteServer] .DatabaseName.DatabaseOwner.StoredProcedureName:

EXEC [RemoteServer].DatabaseName.DatabaseOwner.StoredProcedureName

You can have the Sql Job in a stored Procedure in server B.Add server B as linked server to Server A,Execute the stored Procedure from server A EXEC [RemoteServer] .DatabaseName.DatabaseOwner.StoredProcedureName

You can have the Sql job in a stored Procedure in server B. Add server B as linked server to Server A, Execute the stored Procedure from server A:

EXEC [RemoteServer].DatabaseName.DatabaseOwner.StoredProcedureName
Post Migrated Here from stackoverflow.com (revisions)
Source Link
I am legend
I am legend

You can have the Sql Job in a stored Procedure in server B.Add server B as linked server to Server A,Execute the stored Procedure from server A EXEC [RemoteServer] .DatabaseName.DatabaseOwner.StoredProcedureName