Forum Moderators: open
The databases and views are identical in terms of fields, tables etc - only the data changes.
Can anyone advise on how to create a large recordset containing all the records in View C + all the records in View D.
I'm not sure how to do the sql that links two seperate MSSQL databases (on same server), and don't know how to append all records together (as they aren't really being "joined" to each other on a key as such as far as I can tell?).
Thanks
The naming convention is DatabaseName.[owner].TableName (and TableName can also be ViewName).
Similarly, if you have setup a linked server, the naming convention would be:
[LinkedServerName].DatabaseName.[owner].TableName