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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing a different database table in a stored procedure 1

Status
Not open for further replies.

Coxy101

Programmer
Jan 27, 2004
4
GB
Hope someone can help me,

i've set up two databases and want to reference a table in DB1 using a stored procedure in DB2. I've tried using 'dbo.DB1.Table1' but it doesn't work. I keep getting 'Invalid object name'.

Anyone know what i'm doing wrong?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top