adoquery only use for query (only select is valid)
if u want to use other sql expression eg:insert, update, drop, create u should use ADOCommand . others is not support.
********use ADOCommand instead ADOQuery*************
eg: ADOCommand.CommandText:=Memo.Text;//sql expression
ADOCommand.Prepared:=true;
ADOCommand.Execute;
ADOCommand.Prepared:=false;
if u want to use other sql expression eg:insert, update, drop, create u should use ADOCommand . others is not support.
********use ADOCommand instead ADOQuery*************
eg: ADOCommand.CommandText:=Memo.Text;//sql expression
ADOCommand.Prepared:=true;
ADOCommand.Execute;
ADOCommand.Prepared:=false;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货