X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 494384758BD for ; Tue, 4 Feb 2003 05:59:06 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id E0816474E42 for ; Tue, 4 Feb 2003 05:59:04 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h14AwtP24650; Tue, 4 Feb 2003 05:58:55 -0500 (EST) From: Bruce Momjian Message-Id: <200302041058.h14AwtP24650@candle.pha.pa.us> Subject: Re: SQL99/SQL92 Grammar In-Reply-To: <20030203213615.12345.qmail@mail.hazlewood.co.uk> To: Les Hazlewood Date: Tue, 4 Feb 2003 05:58:55 -0500 (EST) Cc: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/75 X-Sequence-Number: 11473 See the developers FAQ for URL's. --------------------------------------------------------------------------- Les Hazlewood wrote: > > Does anyone have a definitive BNF grammar of SQL99 or SQL92? (I'd prefer 99 > but I'll take what I can get ;) > > I'm trying to make a simplified XML to SQL translator, and I need the > grammar to do so (not Postgres's grammar...the standard grammar). It must > be available somewhere, because Postgres developers need to refer to it at > some point... > > If the grammar is accompanied with explanations (like Postgres does in its > online manual, or like Oracle in theirs), that would be best....but again, > I'll take what I can get. > > I tried looking on the ANSI website, but with no results. Damn > bastards...how can they make a standard and then charge for you to see it? > What the hell is the point if the 'standard' is not open to everyone who > might need it? What about the students and joe-blows in this world (like > me) who don't work for a company and who don't have a ton of money to spend > on stupid ANSI subscriptions.....? > > Oh sorry...I got off on a rant.... > > Regardless, I'd love the grammar or a link to where I can view it for > _free_. > > Can anyone help a guy out? Thanks! > > Les Hazlewood > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073