SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 View with 2 joint tables from Different DB
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Fatalsniper
Starting Member

45 Posts

Posted - 08/26/2005 :  14:19:27  Show Profile  Reply with Quote
Hey there,

Is there a way to create a view that contains two joint tables from different databases. and if so, Where would that view(object) be created/located.(which DB or it'd be a sysobject?)?

Thank you in advance!

Thrasymachus
Constraint Violating Yak Guru

USA
483 Posts

Posted - 08/26/2005 :  14:31:45  Show Profile  Reply with Quote
either DB but most likely the one that the app that needs to use it is logged into. you would then qualify the outside table with with the 3 part name...

database.owner.table.

There are some issues with doing stuff like this. something cross database ownership chaining or permissions or something. Too tired... Head might fall into the monitor...

====================================================
Regards,
Sean Roussy

"pimpin ain't easy, but someone has to do it" -- Pimpin Whitefolks(?)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000