Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!nsc!decwrl!cookie.dec.com!wecker From: wecker@cookie.dec.com (DAVE TANSTAAFL WECKER) Newsgroups: comp.databases Subject: Re: SQL Comments... Message-ID: <6325@decwrl.DEC.COM> Date: Tue, 11-Nov-86 15:44:05 EST Article-I.D.: decwrl.6325 Posted: Tue Nov 11 15:44:05 1986 Date-Received: Wed, 12-Nov-86 04:51:44 EST Sender: daemon@decwrl.DEC.COM Organization: Digital Equipment Corporation Lines: 97 The following is in response to the comments concerning the SQL standard. Please note that these are personal comments of Jim Melton (not myself) and do not represent official positions of either the ANSI committee or Digital Equipment Corporation. Jim can be contacted at: decwrl!cookie.dec.com!melton --------------------------------------------------------------------------- >>> After looking briefly at the proposed ANSI standard for SQL and >>>talking to one member of the committee, I am mystified! The standard >>>does not include any definition of an interactive query language. >>>Gosh, I thought SQL started as a query language. >>> This does not mean that vendors will throw away their query language >>>implementations, just that there is no standard for an interactive >>>version of the language. The newly approved ANSI standard, embodied in ANSI X3.135-1986, clearly specifies (I believe it's in Section 1.7 (Conformance), Paragraph 3): An implementation claiming SQL DML conformance shall process, either at level 1 or level 2: a. Direct invocation of SQL data manipulation language statements (); and/or b. Module language (); and/or c. one or more of [a list of 4 embedded languages]. Statement a. above indicates pretty reasonable to me that an interactive query language is defined by the standard. Of course, Paragraph 5 of the same section states: A conforming implementation may provide additional facilities or options not specified by this standard. An implementation remains conforming even if it provides user options to process non-conforming SQL language or to process conforming SQL language in a non-conforming manner. >>>- "select * from employee" (where employee is a valid table) is NOT a >>> valid command. Neither is "select empname from employee" (where empname >>> is a valid column). (They are valid as part of a 'cursor declaration', >>> but not as stand-alone statements). I disagree with this statement as well. Section 3.25 () lists the syntax for queries, and: SELECT * FROM EMPLOYEE is clearly permitted by the syntax, as is: SELECT EMPNAME FROM EMPLOYEE Now, I admit that is not the same as a statement. Section 6.10 (