Executing a Stored Procedure Via a Linked Server

It is possible to execute a stored procedure via a linked server. The server that is hosting the client connection will accept the client's request and send it to the linked server. The EXECUTE statement must contain the name of the linked server as part of its syntax:

EXECUTE servername.dbname.owner.procedure_name 

This example executes sp_helpsrvrole on SWServer, which shows a list of available fixed server roles on the 'SWServer' remote server:

EXEC SWServer.master.dbo.sp_helpsrvrole 

    Part III: SQL Server Administration
    Part IV: Transact-SQL
    Part V: SQL Server Internals and Performance Tuning
    Part VI: Additional SQL Server Features