Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

search for a string in CLOB variable

naveenmani912Apr 17 2018 — edited Apr 17 2018

Hi All

    I have a following query in oracle 10g

   I have a clob variable which has some text like

declare

  l_clob clob;

begin

l_clob:='select col1

              from  tab1,

                       tab2

             where col2=col3;'

end;

now i need to search the clob variable l_clob for string 'tab2' which should have 'from' string before it.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2018
Added on Apr 17 2018
5 comments
5,835 views