I’m new to Oracle (PL/SQL), and have very little real world experience.
But I’ve been met with a challenge.
It’s quite interesting and I know I can meet it with a little help/direction.
We have a table in our database that works as a reference….
It has 2 columns. The first contains ID values, and the second contains about a 40 line SQL query that when run generates reports.
Needless to say, I have to write a script that searches each of the rows for a particular string within the SQL codes. If the string is found, it is to be deleted. (Or perhaps an Update would work better here. Substituting the old code for a new version of the code WITHOUT the string).
Anyway, I have no idea how to do this.
I’d appreciate whatever help I can get.
Thanks.
(PS: hope this was clear)
But I’ve been met with a challenge.
It’s quite interesting and I know I can meet it with a little help/direction.
We have a table in our database that works as a reference….
It has 2 columns. The first contains ID values, and the second contains about a 40 line SQL query that when run generates reports.
Needless to say, I have to write a script that searches each of the rows for a particular string within the SQL codes. If the string is found, it is to be deleted. (Or perhaps an Update would work better here. Substituting the old code for a new version of the code WITHOUT the string).
Anyway, I have no idea how to do this.
I’d appreciate whatever help I can get.
Thanks.
(PS: hope this was clear)
Comment