Re: SQL spec/implementation question: UPDATE

From: Kevin Hunter <hunteke(at)earlham(dot)edu>
To: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
Cc: Postgres General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: SQL spec/implementation question: UPDATE
Date: 2007-10-22 05:55:49
Message-ID: 471C3B65.7090608@earlham.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 11:33p -0400 on 21 Oct 2007, Ron Johnson wrote:
> Not to bash MySQL (much...) but ISTM that this is another example of
> MySQL playing fast and loose with SQL.

I don't have handy a spec guide. Does this mean that MySQL is indeed
showing incorrect behavior? I like what's been said upthread:

The query MySQL apparently sees:
UPDATE test SET name = 'kevin' WHERE passion = 'soccer' AND name <> 'kevin';

The query as I wrote:
UPDATE test SET name = 'kevin' WHERE passion = 'soccer';

Even though it is, in fact, the same, it should still be updated because
that's what I said. Is that what you're saying? Is that the spec?

Thanks,

Kevin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-10-22 06:24:25 Re: SQL spec/implementation question: UPDATE
Previous Message Kevin Hunter 2007-10-22 05:51:44 Re: SQL spec/implementation question: UPDATE