我建了一个和表username结构一样的临时表#tempps,但在操作的时候出错?请问是怎么回事?
with datamodule.CustomerData.qrytemp do
begin
close;
sql.Clear;
sql.Add('delete form username where username.username not in (select #tempps.username from #tempps)');
execsql;
close;
sql.Clear;
sql.add('insert into username select * from #tempps where #tempps.username not in (select username.username form username)');
execsql;
end;
总是说username附近有错?
with datamodule.CustomerData.qrytemp do
begin
close;
sql.Clear;
sql.Add('delete form username where username.username not in (select #tempps.username from #tempps)');
execsql;
close;
sql.Clear;
sql.add('insert into username select * from #tempps where #tempps.username not in (select username.username form username)');
execsql;
end;
总是说username附近有错?
解决方案 »
- FastReport 3.18安装问题 TEE77 not found ?
- Variable required错误,莫名其妙想自杀!
- 两段小代码 看不出有什么不同,就是结果不同,奇怪
- 用 idSmtp 发送邮件,出现如下错误.
- socketserver中的onaccept和onconnect事件?
- 如何搜一个网页,将这个页面上的下拉菜单里的内容放到我的程序的ComboBox1中?(已经使用WEBBROWSER取到页面了)
- 哪位高手能够把ehlib的帮助文件翻译过来?或者是把常用的功能用中文解释一下?
- mediaplayer中的参数
- IntraWeb重赏之下必有勇夫,关于ISAPI程序的发布等问题(1000分送上)。
- 超难的问题
- MainMenu与PopupMenu的Caption不能编辑?(好象只读那样) 如何是好?
- 有什么安装程序能把BDE一起搞定的
from写错了