467,189 Members | 1,308 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,189 developers. It's quick & easy.

Searching for strings and replacing them

I have 2 databases I need to search through. I am looking for say...
"bad.string" and want to replace it with "good.string". I do not know
where in which table or even field the "bad.string" will show up in.
What commands could I use to get this done?

Thanks,

Harlin Seritt

Apr 24 '06 #1
  • viewed: 1117
Share:
1 Reply
Harlin wrote:
I have 2 databases I need to search through. I am looking for say...
"bad.string" and want to replace it with "good.string". I do not know
where in which table or even field the "bad.string" will show up in.
What commands could I use to get this done?


You will have to query all string columns in all tables and execute
respective update statements.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Apr 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Goldenpi | last post: by
3 posts views Thread by Christopher R. Barry | last post: by
2 posts views Thread by Neil Schemenauer | last post: by
3 posts views Thread by googleboy | last post: by
2 posts views Thread by Jon Smirl | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.