将数据库中一个表中的数据插入另一张表中

insert into ol_opersign(operno,deptno,sysno,sysstatus,perstatus)(select operno,deptno,'99700040000','01','01' from ol_operinfo) ;

猜你喜欢

转载自xiaomian.iteye.com/blog/1700370