mysql搜索语句在uibot里用不了

黄_12263 2022-6-9 516

"Select * From table where title like '3D'"


这样写,但出来结果为-1,奇怪。

最新回复 (5)
  • 果子哩 2022-6-9
    2
    你查询语句写错了,你可以试试写具体的值是可以查询到的
  • 黄_12263 2022-7-13
    3
    "Select * From table where title like '%3D%'"

    这样也是搜索不出,还有其它写法吗
  • 果子哩 2022-7-13
    4

    把3D去掉就写%%,搜索全部有结果的吗,然后你3D具体搜索什么数据,可以给个看一下吗

  • zhanghb 2022-8-1
    5
    https://forum.uibot.com.cn/thread-6501.htm
    参考下
  • 黄_12263 2023-3-25
    6
    把3D去掉就写%%,搜索出来显示全部结果

    "Select * From table where title like '%3D%'"
    搜索出来出错
    模块 Database.QueryAll 命令出错:QueryAll 异常:
    not enough arguments for format string
返回
发新帖