Re: Re: LEFT JOIN in UPDATE
| From: | (Lutz Brückner) | Date: | Mon, 04 Feb 2002 19:52:10 +0000 |
| Subject: | Re: Re: LEFT JOIN in UPDATE | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16506@lists.php.net to get a copy of this message | ||
asd_2000@yahoo.com (Adv. Systems Design) writes:
> I was simply going by the docs themselves:
> http://www.mysql.com/doc/A/N/ANSI_diff_Sub-selects.html
> (see bottom of page)
yes, using REPLACE may be a solution. But you have to make a copy of
the original table, because REPLACE cannot access the values of the
old row directly.
I'd prefer to do this in the mysql way - on the php side.
> Now before you get your flamethrower out...yes I AM
> KIDDING...I realize that mysql is maturing and all
> these "features" will EVENTUALLY make it in...
Some compromises are necessary when using mysql, but often the
advantages prevailing.
Lutz