From: | "Dann Corbit" <DCorbit(at)connx(dot)com> |
---|---|
To: | "Stephan Szabo" <sszabo(at)megazone(dot)bigpanda(dot)com> |
Cc: | "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, <Richard_D_Levine(at)raytheon(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: [pgsql-advocacy] Oracle buys Innobase |
Date: | 2005-10-19 19:42:55 |
Message-ID: | D425483C2C5C9F49B5B7A41F8944154757D203@postal.corporate.connx.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
> -----Original Message-----
> From: Stephan Szabo [mailto:sszabo(at)megazone(dot)bigpanda(dot)com]
> Sent: Wednesday, October 19, 2005 12:39 PM
> To: Dann Corbit
> Cc: Marc G. Fournier; Richard_D_Levine(at)raytheon(dot)com; pgsql-
> general(at)postgresql(dot)org
> Subject: Re: [pgsql-advocacy] [GENERAL] Oracle buys Innobase
>
> On Wed, 19 Oct 2005, Dann Corbit wrote:
>
> > Yes, clearly that is the wrong result according to the SQL standard.
> >
> > Here is a SQL*Server query:
> > select 1 where 'a' = 'a ' AND 'a' = 'a ' AND 'a ' = 'a '
> >
> > It returns (correctly): 1
>
> Doesn't that depend on the collating sequence in use, or is a NO PAD
> collating sequence not allowed here?
If the implementation defines constants as NO PAD and the implementation
defined pad character is something other than space, then they could
compare unequal.
I would find that implementation disturbing. But I am easily bent out
of shape.
The attached HTML file in my earlier post is the official quote from the
SQL 99 standard. That is the formal and correct definition, far
superior to my off the cuff approximations.
From | Date | Subject | |
---|---|---|---|
Next Message | Dann Corbit | 2005-10-19 19:46:15 | Re: [pgsql-advocacy] Oracle buys Innobase |
Previous Message | Stephan Szabo | 2005-10-19 19:39:14 | Re: [pgsql-advocacy] Oracle buys Innobase |
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2005-10-19 19:53:26 | Re: [pgsql-advocacy] Oracle buys Innobase |
Previous Message | Stephan Szabo | 2005-10-19 19:39:14 | Re: [pgsql-advocacy] Oracle buys Innobase |