By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,287 Members | 1,309 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,287 IT Pros & Developers. It's quick & easy.

Searching for strings and replacing them

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.