Oracle Error “inconsistent datatypes: expected CHAR got LONG”

后端 未结 2 703
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 01:22

I\'m trying to run the following query to find views containing a given keyword:

select  *
from    ALL_VIEWS
where   OWNER = \'SALESDBA\'
        and TEXT li         


        
2条回答
  •  日久生厌
    2021-01-18 01:54

    You could use TEXT_VC as the column to check criteria against. For example:

    select  *
    from    ALL_VIEWS
    where   OWNER = 'SALESDBA'
            and TEXT_VC like '%rownum%';
    

    I hope this helps.

提交回复
热议问题