MySQL is designed to do that. If no data is changed, then MySQL will not
perform the update.
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 2/24/04, 11:36:39 AM, Jacque Scott &
At 9:36 -0800 2/24/04, Jacque Scott wrote:
I am converting from Access 2.0 to MySQL and I am going through all of
my code to make it compatible with MySQL. I was testing my Update for
one of my queries and I don't know if I found a bug or if MySQL was
designed to do this.
In my program I pass an U
I am converting from Access 2.0 to MySQL and I am going through all of
my code to make it compatible with MySQL. I was testing my Update for
one of my queries and I don't know if I found a bug or if MySQL was
designed to do this.
In my program I pass an UPDATE string to MySQL. There can be time
Vikram Vaswani <[EMAIL PROTECTED]> wrote:
>
> Is there a way to update the record with maximum value in a table with
> another value?
>
> I am trying this:
>
> mysql> update services set sfee = 1 where sfee = max(sfee);
> Query OK, 0 rows affected (0.06 sec)
> Rows matched: 0 Changed: 0 Warnin
Hi all,
Is there a way to update the record with maximum value in a table with
another value?
I am trying this:
mysql> update services set sfee = 1 where sfee = max(sfee);
Query OK, 0 rows affected (0.06 sec)
Rows matched: 0 Changed: 0 Warnings: 0
But it doesn't make any changes to the data.