22问答网
所有问题
delphi 中NOT IN 和NOT EXISTS 的用法和区别
如题所述
举报该问题
推荐答案 2011-12-31
not in 是在某集合中不存在,应用格式如:
if s not in['A','B','C'] then
......
not exists 是不存在某对象(如文件),应用格式如:
if not exists('C:\aaa.txt') then
......
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://22.wendadaohang.com/zd/0XhfXSh2h.html
其他回答
第1个回答 2011-12-31
那不是delphi,是SQL语句。
a Not in A
a是个体,A是集合 。a不在A里面。
Not Exsts select * from table where x>0
表里面不存在x>0的记录。本回答被提问者采纳
第2个回答 2011-12-31
不在里面 和不存在
相似回答
insert into
not
EXISTS
问题(
delphi
)
答:
'insert into tijiao(姓名,錄入日期,加班時間,加班工時) select %s,%s,%s,%s from tijiao WHERE
NOT
EXISTS
(SELECT 姓名 FROM tijiao where 錄入日期=%s)'; NOT EXISTS 改为
not
in
吧 还有就是 tijiao里面的列必须和select出来的结果列是一致,(主键自增的除外),否则也不能insert 成功 ...
Delphi
判断文件夹是否存在,不存在就创建一个
答:
delphi
判断文件夹目录可以
使用
Directory
Exists
函数,而创建目录可以使用 CreateDir 和 ForceDirectories 函数。CreateDir 和 ForceDirectories 函数都可以创建文件夹,两者
的区别
在于:ForceDirectories 创建多级目录,父目录不必存在;而 CreateDir 只能创建最后的一级目录,父目录必须存在。举例说明:如果需要建立 d...
大家正在搜
no 与 not 的用法与区别
delphi 调用nodejs
python和delphi哪个好
borland delphi
python delphi
delphi还有人用吗
JAVA和delphi
delphi xe12
not和no的用法
相关问题
insert into not EXISTS 问题(delp...
delphi7出现property DoubleBuffer...
delphi中property doublebuffer d...
SQL中IN和EXISTS用法的区别