Hi,
Ok, here is a tricky one.
I have 2 linked server configured properly. I can execute select statement on both servers from Management Studio. So far so good.
But, for wathever reasons, the designers of the other system (which is a Pervasive DB) decided to split the tables between 2 distincts databases (the reason why I have 2 linked servers on 2 ODBC DSN). And I have to extract data on tables that are on both databases.
So I have those queries:
select * from openquery(ExactSQL, 'SELECT "Id Product" FROM Product where number=''PP141-72''')
select * from openquery(ExactGPAO, 'SELECT * FROM ProductRecipe where "Id Product" = 3532') => 3532 is the Id Product of PP141-72
Is there a way I can do a join between those tables?
thanks
Our community of experts have been thoroughly vetted for their expertise and industry experience.