string sql = "insert into tbl1(s1,s2,s3) select t.t1,t.t2,t.t3 from tab2 t";
再用jdbc或者hibernate执行下sql就可以了。
转载于:https://www.cnblogs.com/ejllen/p/3598535.html
string sql = "insert into tbl1(s1,s2,s3) select t.t1,t.t2,t.t3 from tab2 t";
再用jdbc或者hibernate执行下sql就可以了。
转载于:https://www.cnblogs.com/ejllen/p/3598535.html