insert into ems_db1.drtu_d1 select * from ems_db_to_drtu_d10 where Device_ID='DRTU_D10'
ems_db1.drtu_d1
ems_db_to_drtu_d10
INSERT INTO DestinationTable (<ListOfColumns>) SELECT <ListOfColumns> FROM SourceTable
INSERT INTO ems_db1.drtu_d1 (col1, col2, ..., coln) SELECT col1, col2, ..., coln FROM ems_db_to_drtu_d10 WHERE Device_ID='DRTU_D10';
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)