oracle like匹配单引号

来源:互联网 发布:淘宝店铺地址是无效的 编辑:程序博客网 时间:2024/06/03 12:29

  如果数据库中存储的单引号为 英文写法则是:

         select t.*, t.rowid from classify   t where t.name like '%''%';


  如果数据库中存储的单引号为 中文写法则是:

        select t.*, t.rowid from classify   t where t.name like '%‘%';


 查询 双引号的sql语句

    select t.*, t.rowid from classify   t where t.name like '%”%';

原创粉丝点击