By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,136 Members | 1,054 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,136 IT Pros & Developers. It's quick & easy.

Can one create a view in MS SQL across databases

P: 9
I need to create a view of tables in 2 databases. Is this possible?
May 16 '07 #1
Share this Question
Share on Google+
1 Reply


P: 1
You simply include the database names in the query

select <col>
from <database name>.<owner>.<table name>, <database name>.<owner>.<table name>, etc.

MG
May 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.