[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL - Can I setup Link server that can run the stored procedure on the linked remote database

Posted on 2012-09-06
2
Medium Priority
?
282 Views
Last Modified: 2012-09-06
I have a link server setup for a remote MS SQL 2008 database.  I need to be able to execute a stored procedure from the remote database.  However,  I expand the link server for remote SQL, I can only see tables and views not programmability.

How do I need to do to setup to run store procedure?  

Thanks
0
Comment
Question by:tommym121
2 Comments
 
LVL 13

Accepted Solution

by:
LIONKING earned 2000 total points
ID: 38372854
You need to execute the stored procedure from a query.
You would do something like this

EXEC myLinkedServer.myDatabase.myScheme.myStoredProcedure
0
 

Author Closing Comment

by:tommym121
ID: 38373843
Thanks
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question