If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Hi-
How can I replace the pattern NULL by WSA_ROUTES_TRP_ROUTES_TIN1 .
in the below statement.
The word with which NULL need to be replaced should be extracted before a key word Exception
Currently:
BEGIN EXECUTE IMMEDIATE ' drop package WSA_ROUTES_TRP_ROUTES_TIN1 ' ; EXCEPTION WHEN OTHERS THEN NULL ; END ;
Post replacement:
BEGIN EXECUTE IMMEDIATE ' drop package WSA_ROUTES_TRP_ROUTES_TIN1 ' ; EXCEPTION WHEN OTHERS THEN WSA_ROUTES_TRP_ROUTES_TIN1 ; END ;
I don't quite understand your question.
Do you want to edit multiple files and replace each occurance of "NULL", where it follows the word "EXCEPTION"? with the word that precedes the word "EXCEPTION" ?