select * from table_name where column like ' '

前端 未结 4 2059
南旧
南旧 2021-01-18 07:22

I need to find records containing html code such as \' \' But when I try to run the select * from table_name where column like \' %\' I got p

4条回答
  •  长发绾君心
    2021-01-18 08:09

    In PL/SQL, you would use:

    BEGIN select from into where LIKE '\ \%' ESCAPE '\'; END /

    Resources:

    Wilcards in SQL on PSOUG.org

    LIKE Condition in Oracle® Database SQL Language Reference 11g Release 2 (11.2)

提交回复
热议问题