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 SkipVought 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
May 1, 2003
38
0
0
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top