Hi everybody,
I have a database server suppose (dbsrvr) and the same server with different Instance suppose (dbsrvr\UAT)
Database details:-
1. DB_RCS is in dbsrvr\UAT
2. DB_DM is in dbsrvr
I want to get the data from both the databases. When I open the New Query window from instanced Database Server (dbsrvr\UAT) and run the below query then it is not working.
Select*from dbsrvr.DB_DM.dbo.Table1 tb1
InnerJoin UAT.DB_RCS.dbo.Table2 dh ON tbl2.ID=dh.ID
It isworking properly if I open the New Query window from Main Database Server (dbsrvr) and gives the result properly. Please provide the solution.
NOTE:- I Don't want to use the Link Server/ Open Query.
Thanks
Sourabh Soni
Regards Sourabh Soni