Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
SQL Server
Can one create a view in MS SQL across databases
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
WayneW
New Member
Join Date:
Nov 2006
Posts:
9
#1
Can one create a view in MS SQL across databases
May 16 '07, 10:43 AM
I need to create a view of tables in 2 databases. Is this possible?
mpg01
New Member
Join Date:
May 2007
Posts:
1
#2
May 17 '07, 02:19 PM
You simply include the database names in the query
select <col>
from <database name>.<owner>.< table name>, <database name>.<owner>.< table name>, etc.
MG
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment