'Run script From different server

I have script that i need to run it from another server (for example the script in 172.35.2.2

and i want to run it from 172.35.2.4)

but i dont know how to modify the syntax that the script will

be run from another server, what i should add to run it from 172.35.2.4?

USE MO_MAINTO

GO

dbcc shrinkfile (MO_MAIN_log,0, TRUNCATEONLY) WITH NO_INFOMSGS;

GO

exec [dbo].[GS_Import_SB]

Best regards



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source