January 12, 2012 at 2:03 am
Dear friends,
I am having two different database like 'LiveDB' and 'MFDB'
both are having a common table named 'TB_Transaction'
now i need to select all record that exist in both databases.
when i run the following query:
select * from LiveDB.Dbo.TB_Transaction
union
select * from MFDB.Dbo.TB_Transaction
this gives an error.
Reference to database and/or server name in 'livedb.dbo.tb_transaction' is not supported in this version of SQL Server.
Plz tell me what is the alternate way to accomplish this task.
June 10, 2013 at 2:03 pm
Do the two table schema compatible for a UNION?
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy