June 18, 2020 at 2:51 am
Hi,
Need to create a view in a database in server A by using the tables from other database in server B.
Is it possible ?
Any suggestions please.
Thank you.
June 18, 2020 at 3:45 pm
A linked server perhaps?
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
June 18, 2020 at 6:58 pm
I would also recommend using synonyms - and possibly a separate schema for the synonyms. This would allow you to change the linked server and update just the synonyms without having to change any views or code.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 18, 2020 at 8:34 pm
How often will this view be queried? Having queries frequently go across a linked server is a notorious way to kill performance. Does the consumer of this query need real time data or can it be updated periodically on Server A from Server B?
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply