On Tue, 2003-02-04 at 21:03, Christopher Kings-Lynne wrote:
> As far as I'm aware, MySQL is the only database that supports '//' as a
> comment, and they made it up out of whole cloth...
Just to confirm that, my copy of the SQL 2003 draft, section 5.2, says:
<comment> ::=
<simple comment>
| <bracketed comment>
<simple comment> ::=
<simple comment introducer> [ <comment characters>...] <newline>
<simple comment introducer> ::=
<minus sign><minus sign>[<minus sign>...]
(and <bracketed comment> is a C-style /* ... */ pair, which I've omitted
for brevity).
I'm not sure where the evidence for the "ANSI standard" claim comes
from, but AFAICS "// comments" are not part of the SQL standard, at any
rate.
Cheers,
Neil
--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC