W3C home > Mailing lists > Public > public-html@w3.org > November 2007

Re: SQL API -- statement syntax

From: Kornel Lesinski <kornel@geekhood.net>
Date: Thu, 01 Nov 2007 22:30:45 -0000
To: "Ian Hickson" <ian@hixie.ch>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.t04wtj0lptj49s@aimac.local>

On Thu, 01 Nov 2007 09:56:20 -0000, Ian Hickson <ian@hixie.ch> wrote:

> Regarding semicolons: I don't know if they should be required or not. I'd
> like implementation experience to guide us on that. It seems like we'd
> want them to be not allowed, so that we force the issue of there only
> being one statement per call.

I think semicolon must be optional, otherwise it would be source of  
"mysterious" errors. Trailing semicolon is optional in many (if not all)  
server-side SQL interfaces and also in JS and CSS.

Of course optional semicolon should be just a syntactic sugar and  
shouldn't allow more than one statement per call.

regards, Kornel Lesinski
Received on Thursday, 1 November 2007 22:31:19 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:28 UTC