Path: compuserve.com!compuserve.com!news.inhouse.compuserve.com!uunet!gatech!newsxfer.itd.umich.edu!jobone!ukma!hsdndev!news.cs.umb.edu!skaveti
From: skaveti@ra.cs.umb.edu
Newsgroups: comp.databases
Subject: Need Source Code for SQL Interpreter/Implementation
Date: 23 Oct 1994 13:59:56 GMT
Organization: University of Massachusetts at Boston
Lines: 12
Distribution: usa
Message-ID: <38dq8s$4ne@cs.umb.edu>
NNTP-Posting-Host: eris.cs.umb.edu
Originator: skaveti@eris.cs.umb.edu


Hi
	I am looking for source code  of SQL interpreter/implemantation.
	I would appreciate greatly if anybody can help me find this at
	any FTP site or any BOOK?

Thanks
Vijay






----------------------------

Path: compuserve.com!news.compuserve.com!news.inhouse.compuserve.com!uunet!news.mathworks.com!panix!not-for-mail
From: rloewy@panix.com (Ron Loewy)
Newsgroups: comp.databases
Subject: Re: Need Source Code for SQL Interpreter/Implementation
Date: 24 Oct 1994 08:38:01 -0400
Organization: PANIX Public Access Internet and Unix, NYC
Lines: 24
Message-ID: <QghsqUbvZ1EGwWol06b@panix.com>
References: <38dq8s$4ne@cs.umb.edu>
X-Newsreader: Offliner for Windows 0.6b

In article <38dq8s$4ne@cs.umb.edu>, skaveti@ra.cs.umb.edu wrote:
> 
> 
> Hi
> 	I am looking for source code  of SQL 
interpreter/implemantation.
> 	I would appreciate greatly if anybody can help me find this at
> 	any FTP site or any BOOK?
> 
> Thanks
> Vijay
> 
> 
> 
> 

There is a SQL parser in the O'rielly Lex&Yacc book. I think the code 
is also available somewhere on ftp.uu.net, it is not an interpreter, 
but it's a start.

Ron.
--
Ron Loewy, Author of HLPDK, HLPDK/PA and PASTERP  | rloewy@panix.com



----------------------------

Newsgroups: comp.databases
From: Tim.Bunce@ig.co.uk (Tim Bunce)
Path: compuserve.com!news.compuserve.com!news.inhouse.compuserve.com!uunet!pipex!demon!ig.co.uk!timbo
Subject: Re: Need Source Code for SQL Interpreter/Implementation
References: <38dq8s$4ne@cs.umb.edu>
Organisation: Paul Ingram Group, Software Systems, +44 483 424424
Date: Tue, 25 Oct 1994 09:36:58 +0000
Message-ID: <Cy82pn.C83@ig.co.uk>
Sender: usenet@demon.co.uk
Lines: 37

In article <38dq8s$4ne@cs.umb.edu> skaveti@ra.cs.umb.edu writes:
>
>Hi
>	I am looking for source code  of SQL interpreter/implemantation.
>	I would appreciate greatly if anybody can help me find this at
>	any FTP site or any BOOK?
>
Take a look in ftp.demon.co.uk:/pub/perl/db/refinfo/sqlsyntax/

You'll find the YACC syntax for SQL1 and SQL2:

        3075 Oct 18 19:39 Makefile
        2009 Oct 18 19:39 README
       25773 Oct 18 19:39 SQL3.bnf.Z
       37751 Oct 18 19:39 progs.tar.Z
         173 Oct 18 19:39 sample.c
        3533 Oct 18 19:39 scn1.l
        3604 Oct 18 19:39 scn2.l
        9260 Oct 18 19:39 sql1.y
        8444 Oct 18 19:39 sql2.y
        1794 Oct 18 19:39 sqltext.c

These are copies from ftp.uu.net:/pub/uunet/published/oreilly/...

The SQL3.bnf.Z file is a compressed text file containing the draft
syntax for SQL3 (as at 1st Sept 93) in depth-first BNF format.
This was kindly supplied by Jeff Fried <jfried@informix.com>

This isn't an implementation but it's an excellent place to start.

*PLEASE PLEASE* let me know of anything else you find!

>Thanks
>Vijay
>
Regards,
Tim Bunce.


----------------------------

Newsgroups: comp.databases
Path: compuserve.com!news.compuserve.com!news.inhouse.compuserve.com!uunet!news.mathworks.com!news.duke.edu!convex!cnn.exu.ericsson.se!exukenc
From: exukenc@exu.ericsson.com (Ken Corey)
Subject: Re: Need Source Code for SQL Interpreter/Implementation
Message-ID: <1994Oct26.202457.14126@exu.ericsson.se>
Sender: news@exu.ericsson.se
Nntp-Posting-Host: s10a06.exu.ericsson.se
Organization: Ericsson North America Inc.
X-Newsreader: Tin 1.1 PL5
References: <Cy82pn.C83@ig.co.uk>
Date: Wed, 26 Oct 1994 20:24:57 GMT
X-Disclaimer: This article was posted by a user at Ericsson.
              Any opinions expressed are strictly those of the
              user and not necessarily those of Ericsson.
Lines: 21

Tim Bunce (Tim.Bunce@ig.co.uk) wrote:
: In article <38dq8s$4ne@cs.umb.edu> skaveti@ra.cs.umb.edu writes:
: >	I am looking for source code  of SQL interpreter/implemantation.
: >	I would appreciate greatly if anybody can help me find this at
: >	any FTP site or any BOOK?
: Take a look in ftp.demon.co.uk:/pub/perl/db/refinfo/sqlsyntax/
: You'll find the YACC syntax for SQL1 and SQL2:
[...]
: *PLEASE PLEASE* let me know of anything else you find!

Tim,

Have you heard of mSQL?  It's a significant subset of sql, with 
some resrictions.

Find it at file://ftp.bond.edu.au/pub/minerva/msql/

--
Ken Corey   exukenc@exu.ericsson.se 214/907-5841  Speaking for everyone...
 "Why be a man when you can be a success?"
 		-- Bertold Brecht
