一个ado.query的问题 如何将update school set isluqu = 1 where ( isluqu<>1) and (schoolname<>'')写到ado.query中的sql.add字符串中,谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 with adoquery1 do begin close; sql.Clear; sql.Add('update school set isluqu = 1 where ( isluqu<>1) and (schoolname<>'')'); open; end; with adoquery1 do begin close; sql.Clear; sql.Add('update school set isluqu = 1 where ( isluqu<>1) and (schoolname<>'''')'); open; end; 有一点疑问,在sql server中如果表示schoolname不能为空,应该是schoolname<>''.但是在delphi中两个'会紧挨在一起,中间没有空格,这应该怎么办 谁有 EhLib for d6 的控件包啊? ado+access 将查询的随机数据写入另外一个表 调用别人EXE文件的问题??? !!!!!!!关于三层的简单问题!!!!! acess表中数据互相转换,并设计一个新表将其他表中特定列的数据存储下来,并可以进行算术运算 pb简单问题,定义完(retrieval arguments)怎么view菜单下的where等不能点击? 杨辉三角 问问关于DLL的用法,分可以再加哦。 LMD安装要序列号,谁可以告诉我? ADO复杂问题,想证明自己是高手吗?来这里!没错的 制作串口通讯Dll动态库方案 有关于公文包模式!
begin
close;
sql.Clear;
sql.Add('update school set isluqu = 1 where ( isluqu<>1) and (schoolname<>'')');
open;
end;
begin
close;
sql.Clear;
sql.Add('update school set isluqu = 1 where ( isluqu<>1) and (schoolname<>'''')');
open;
end;