Home > database > Datawindow query union 2 library data
Datawindow query union 2 library data
Time:09-18
Existing two table structure, is exactly the same table structure, database DB1 tb_1 respectively and DB2 database tb_2, Now I want to use a datawindow query a select * from tb_1 union select * from tb_2 data, How to achieve this?
CodePudding user response:
If it is the same SQL Server instance to try in the connection of db1 write:
Select * The from tb_1 tb1 full join db2. The dbo. Tb_2 tb2 on tb1. C=tb2. C