List:General Discussion« Previous MessageNext Message »
From:John Berman Date:September 29 2005 10:05pm
Subject:Global Replace
View as plain text  
Hi

We have a database on MySql 4 and it contains many tables. In each field in
the table in the past were there was no data to display we simply left the
field blank, we now want to replace a null entry with  No Data


I have no problem doing this on an individual field in each table like so

UPDATE mc_centralgirls SET mc_centralgirls.notes = "No Data"
WHERE (((mc_centralgirls.notes) Is Null));


but it's a big job.


Can I do this at table level across all fields, or ideally at database level
?

Regards

John Berman


Thread
Exists BUG in "IN" ?Dyego Souza Dantas Leal26 Sep
  • Re: Exists BUG in "IN" ?Michael Stassen26 Sep
    • Global ReplaceJohn Berman30 Sep
      • Re: Global ReplaceScott Noyes30 Sep
      • Re: Global ReplaceSGreen30 Sep
RE: Global ReplaceSujay Koduri30 Sep
  • RE: Global ReplaceJohn Berman30 Sep