以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  not exists不能这样用吗  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=101273)

--  作者:happyft
--  发布时间:2017/5/27 14:51:00
--  not exists不能这样用吗
想这样插入数据总出错
insert into 表A (列1,列2,列3) vaLues(1,2,3) where not exists(se lect * from 表A where ....)

是不是not exists时只能用
insert into 表A(列1,列2,列3) se lect 1,2,3 where not exists(se lect * from 表A where ....)


--  作者:有点蓝
--  发布时间:2017/5/27 15:55:00
--  
第二种用法