E ecoming Unregistered / Unconfirmed GUEST, unregistred user! 2010-04-27 #1 insert into main2(id,date1,name,sex,mn,tel,add,remark) select id,date1,name,sex,mn,tel,add,remark from main1 where yn=true我是这么写的,为什么老是提示语句语法错误,请指点
insert into main2(id,date1,name,sex,mn,tel,add,remark) select id,date1,name,sex,mn,tel,add,remark from main1 where yn=true我是这么写的,为什么老是提示语句语法错误,请指点
M mgx3579 Unregistered / Unconfirmed GUEST, unregistred user! 2010-04-27 #3 insert into main2(id,date1,name,sex,mn,tel,add,remark) select id,date1,name,sex,mn,tel,add,remark from main1 where yn=1
insert into main2(id,date1,name,sex,mn,tel,add,remark) select id,date1,name,sex,mn,tel,add,remark from main1 where yn=1
Z zhengrong117 Unregistered / Unconfirmed GUEST, unregistred user! 2010-04-27 #4 建议看看select into 是不是效果更好
C chinasky132 Unregistered / Unconfirmed GUEST, unregistred user! 2010-04-27 #7 1 yn字段是什么类型?2 是什么数据库,Access 和Sql Server 和Oracle 是有点区别的?3 提示的是什么错误呢?这些东西不知道,就等于猜.
N nqsdlsh Unregistered / Unconfirmed GUEST, unregistred user! 2010-10-19 #8 insert into 的语法后面应该与value吧
N nm_wyh Unregistered / Unconfirmed GUEST, unregistred user! 2010-10-20 #10 where后面条件的问题,如果后面是布尔类型。各个数据库的都不一样。我也没这样比较过。仔细检查。应该很简单的问题。
C ctx62 Unregistered / Unconfirmed GUEST, unregistred user! 2010-10-23 #13 insert into main2(id,date1,name,sex,mn,tel,add,remark) value(select id,date1,name,sex,mn,tel,add,remark from main1 where yn=true)
insert into main2(id,date1,name,sex,mn,tel,add,remark) value(select id,date1,name,sex,mn,tel,add,remark from main1 where yn=true)