B
blyb
Unregistered / Unconfirmed
GUEST, unregistred user!
怎样让access数据库一次执行多条sql语句,像在SQL server的存储过程中一样,如:
INSERT INTO ygb(ygid,ygxm,dwid,kl,qx,gzmc,yxbz,sxje,xyye,zczl,jqrq,jqbz,sjzt) VALUES('000','SYSTEM','0','15E1E9','0','',1,0,0,0,#1905-06-16#,True,1)
INSERT INTO ygb(ygid,ygxm,dwid,kl,qx,gzmc,yxbz,sxje,xyye,zczl,jqrq,jqbz,sjzt) VALUES('A001','白琳','01','15E1E9','5','',1,0,0,0,#1905-06-16#,True,1)
INSERT INTO ygb(ygid,ygxm,dwid,kl,qx,gzmc,yxbz,sxje,xyye,zczl,jqrq,jqbz,sjzt) VALUES('A002','李霞','0101','15E1E9','10','',1,0,0,0,#1905-06-16#,True,1)
INSERT INTO ygb(ygid,ygxm,dwid,kl,qx,gzmc,yxbz,sxje,xyye,zczl,jqrq,jqbz,sjzt) VALUES('A003','蒋继坤','0101','15E1E9','9','',1,0,0,0,#1905-06-16#,True,1)
一次执行完。
INSERT INTO ygb(ygid,ygxm,dwid,kl,qx,gzmc,yxbz,sxje,xyye,zczl,jqrq,jqbz,sjzt) VALUES('000','SYSTEM','0','15E1E9','0','',1,0,0,0,#1905-06-16#,True,1)
INSERT INTO ygb(ygid,ygxm,dwid,kl,qx,gzmc,yxbz,sxje,xyye,zczl,jqrq,jqbz,sjzt) VALUES('A001','白琳','01','15E1E9','5','',1,0,0,0,#1905-06-16#,True,1)
INSERT INTO ygb(ygid,ygxm,dwid,kl,qx,gzmc,yxbz,sxje,xyye,zczl,jqrq,jqbz,sjzt) VALUES('A002','李霞','0101','15E1E9','10','',1,0,0,0,#1905-06-16#,True,1)
INSERT INTO ygb(ygid,ygxm,dwid,kl,qx,gzmc,yxbz,sxje,xyye,zczl,jqrq,jqbz,sjzt) VALUES('A003','蒋继坤','0101','15E1E9','9','',1,0,0,0,#1905-06-16#,True,1)
一次执行完。