August 24, 2009 at 8:21 pm
Hi,
Is it possible to use a distributed query to execute a stored procedure on another SQL server without using RPC?
I have one dev server and production server. now, i want to execute a stored procedure which is there on prod from dev server.
What are the ways we can accomplish this task??
Thankz in advance.
August 24, 2009 at 9:30 pm
I tried with Linked Server but it throwing me an error RPC not configured for the target server.
EXEC [ServerName\SQL_01].ADVENTUREWORKS.DBO.TEST_SP
Msg 7411, Level 16, State 1, Line 1
Server 'ServerName\SQL_01' is not configured for RPC.
August 24, 2009 at 10:33 pm
August 24, 2009 at 11:19 pm
How it can achieved using xp_cmdshell or osql?
Help!
August 25, 2009 at 4:52 am
August 25, 2009 at 6:21 am
mroja_2005 (8/24/2009)
I tried with Linked Server but it throwing me an error RPC not configured for the target server.EXEC [ServerName\SQL_01].ADVENTUREWORKS.DBO.TEST_SP
Msg 7411, Level 16, State 1, Line 1
Server 'ServerName\SQL_01' is not configured for RPC.
How about setting up RPC?
_____________________________________
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.August 25, 2009 at 5:35 pm
Which option should be turned on to set up the RPC in SQL Server ?
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply