select * from tb_sn where replace(sn," ","")=29
在access中能执行,写在ADOQuery1.SQL.Text中,提示replace 未定义,以前也有很多人配到类似问题,但好像都没有解决。
在access中能执行,写在ADOQuery1.SQL.Text中,提示replace 未定义,以前也有很多人配到类似问题,但好像都没有解决。
解决方案 »
- 你知道这个网页的链接的地址吗?
- Availiable forms 與 Auto-create forms 的問題,高手請指點一下! 謝謝了!!!!!!!!
- 在winxp下,用DELPHI 6.0编写的程序在TRICHEDIT中无法显示字符
- 有没有人使用delphi+MQSeries做三层结构的?
- Delphi让你发送Flash电子邮件 --谁能帮我调试成功里面的例子,立即发分
- 数据全丢,很怪的问题
- 如何获得内嵌存储过程返回的数据集
- 在delphi中怎么执行”describe gc_gcxx“这样的语句(oracle 8.05)
- 如何成为一个高手
- 排序,排序
- 控制台如何做定时备份
- 对TObject.ClassType的实现的困惑
ADOQuery1.SQL.Text := 'select * from tb_sn where replace(sn,'' '','''') = 29';
//Format('select * from TB_SN where replace(sn,%s,%s)=%s',[QuotedStr(' '),QuotedStr(''),QuotedStr(str)]);
ADOQuery1.Open;
上面是我的源码,不能执行哦,你们可以试一下。access 数据库
ADOQuery1.SQL.Text := 'select * from tb_sn where replace(sn,'' '','''') = ''29''';