Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Compare two database with 3 output

Hello,

I try to compare two tables. But I can't find a solution.
The problem :
I work on MSSQL.
I want to list all of tables on DB. Request is :
select table_name from INFORMATION_SCHEMA.TABLES where TABLE_TYPE='BASE TABLE'

Next I want compare the results. But with Tmap and look up doesn't work.
In fact I would like 3 results :
- File csv with the list of table which exist both.
- File csv with the list of table which not exist on DB 1
- File csv with the list of table which not exist on DB 2
For the moment, my result is a file with list of table which exist both.
I don't know what to do anymore.
Thank's in advance,

My job :

0683p000009MG5X.jpg


0683p000009MG5c.jpg
Labels (2)
2 Replies
vapukov
Master II
Master II

You can use combination of 2 lookups (check also settings on pictures):
0683p000009MG5h.png   0683p000009MFzc.png   0683p000009MFz1.png   0683p000009MG5m.png   0683p000009MG5r.png    0683p000009MFpC.png  
Anonymous
Not applicable
Author

Thank !!!!!
That works!!!  0683p000009MACn.png