delphi 单引号用quotedstr()

来源:互联网 发布:小站雅思mac 编辑:程序博客网 时间:2024/05/22 12:28

sp_qry.Close;
  sp_qry.SQL.Clear;
  sp_qry.SQL.Add('select * from item_info where item_clsno='+quotedstr(sp_lb.KeyValue));
  sp_qry.Open;

 

用quotedstr()函数不用去算''''个数

0 0
原创粉丝点击