【文件属性】:
文件名称:Delphi 查询指定字段为空的数据.rar
文件大小:174KB
文件格式:RAR
更新时间:2022-07-30 04:25:29
Delphi源码-界面编程
Delphi 7.0结合SQLSERVER数据库实现的查询例子,演示如何查询指定字段为空的数据,主要是SQL查询语句的写法,起到了至关重要的作用,下面的代码中,包括了核心的查询语句供参考:
begin
with ADOQuery1 do
begin
close;
SQL.Clear;
SQL.Add('select * from COMM where ' worder '=' '''' '' '''');
open;
end;
if ADOQuery1.RecordCount>0 then
showmessage('查询成功')
else
showmessage('查询失败');
end;
【文件预览】:
codesc.net
----查询SQLSERVER指定字段为空的数据()
--------datebase()
--------Unit1.dfm(3KB)
--------Unit1.ddp(51B)
--------Project2.dof(2KB)
--------Project2.res(876B)
--------Unit1.pas(2KB)
--------Project2.cfg(434B)
--------Project2.dpr(188B)