Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

STORED PROCEDURE TO QUERY ANOTHER DATABASE

Status
Not open for further replies.

niall29

Technical User
Joined
May 1, 2003
Messages
38
Location
GB
Hi All,

This one I thought would be easy but I can't get it to work. I am tring to call a stored procedure on DB A which then has to look up values on DB B.
Is it possible for a stored procedure to query a different database without giving direct select access to any database. It seems if you give Execute permissions to a stored procedure it is only good on that database.

Any suggestions would be greatly appreciated.
Thanks in advance
 
perhaps you might wish to re-post this question in forum183

this is the ANSI SQL forum

r937.com | rudy.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top