正在努力加载中..
1.使用 ESCAPE 关键字定义转义符。在模式中,当转义符置于通配符之前时,该通配符就解释为普通字符。
2.ESCAPE ‘escape_character’ 允许在字符串中搜索通配符而不是将其作为通配符使用。escape_character 是放在通配符前表示此特殊用途的字符。 select * from a WHERE name LIKE ‘%/%ab’ ESCAPE ‘/’
结果为: name ———- 11%ab 12%ab
ESCAPE
本文链接:ORACLE中ESCAPE关键字用法 换字符用法
转载声明:本站文章若无特别说明,皆为原创,转载请注明来源:Rexdf,谢谢!^^
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
CAPTCHA Code*
Comment *
Notify me of follow-up comments by email.
Notify me of new posts by email.
Δ
This site uses Akismet to reduce spam. Learn how your comment data is processed.