If you are not going to access the server frequently:Select routine_namefromOPENDATASOURCE( 'SQLOLEDB', 'Data Source=<value>;User ID=<value>;Password=<value>' ).db.information_schema.routinesWhere Routine_Type = 'PROCEDURE'
For Linked servers:Select Routine_Name from LinkedServer1.db.information_schema.routinesWhere Routine_Type = 'PROCEDURE'GOSelect Routine_Name from LinkedServer2.db.information_schema.routinesWhere Routine_Type = 'PROCEDURE'GO
Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED"