跨庫導入數據:
insert into A庫名.表名(a,b)select a ,b form B庫名.表名
腳本
insert into authmanagesys.menu(CN_Menu_Name) SELECT Mobile FROM mini315.in_menber;
– 同一個數據庫庫數據導入
insert into 表名(a,b)select a ,b from 表名
腳本
insert into member(CustomerId,BrandId,) SELECT Id ,2 FROM customer;