在一个ACCESS数据库中有两个表,把yewu中的一条数据,移动到wanchengyewu表中去,并删除yewu表中的数据。是adoquery控件,SQL怎么写,请详细点,我是新手
解决方案 »
- ORACLE连接的问题,急啊!
- 我用的如同银行的小键盘,我通过spcomm能从键盘上取出数据。现在我要通过电脑把数据发送到小键盘上去,请问如何实现??
- 报表打印,谢谢
- 关于MessageBox的问题
- 那里有李维的电子图书下载?
- 我连接到FTP服务器时发生530错误!到底是什么意思?(在线)
- 初学者问题1,高手请进!在线等待。
- 关于TSocketNotifyEvent的问题。
- 求用Delphi解y=ax2+bx+c方程之程式
- 怎样自动关闭Application.Messagebox();
- delphi里自己写的procedure和function要怎么声明一下才可以用呀?
- 如何顺序读取一段字符串
adocommand1.execute;
adocommand1.commandtext:='delete yewu where 条件';
adocommand1.execute;
delete from yewu where ...
ExecSql
begin
adoquery2.SQL.Add('insert into wanchengyewu select * from yewu where id=1');
adoquery2.ExecSQL;
adoquery1.SQL.Add('delete from yewu where id=1');
adoquery1.ExecSQL;
end;
end.我这么写的,它说我FROM子语句错误
http://guanggaoren.com/test/test.exe