HANA中使用转义字符

 和Oracle中一样,如下例:查询包含%号的数据

WITH t AS
(
  SELECT 'IT%' A FROM DUMMY UNION SELECT 'IT' FROM DUMMY
)
SELECT *
FROM t
WHERE a LIKE '%/%%' escape '/'

你可能感兴趣的:(数据库,sql,hana,转义字符)