Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Create Table

Re: Create Table

From: Johnnie Isg <johnnie_at_prima.netfront.net>
Date: 1998/07/09
Message-ID: <Pine.BSI.3.96.980709133042.9571J-100000@prima.netfront.net>#1/1

Is it possible to set something in the SQLServer so that it can have more strict ANSI SQL checking, for example the following statement should fail:

create table bb
(user1 int
,user2 char(29) default user
)

On Thu, 9 Jul 1998, Anthony Mandic wrote:

> Ngkpo John wrote:
> >
> > Another Testing, this time I remove the single extraneous comman at the
> > end of the first line,
> >
> > create table bb ( cc int, b int
> > constraint cc primary key (cc)
> > )
> >
> > MSSQL:OK
> > Oracle:Fail
> > Sybase:Fail
> >
> > Don Macpherson wrote:
> <
> < > Presumably 2> fails on Oracle due to the single extraneous comma at
> < > the end of the first line.
> < > According to the SQL92 standard (Entry, Intermediate or Full), this
> < > should fail.
> < >
>
> He meant the comma in the second example, i.e. the one before
> the comment line, ... , -- ...) wouldn't be a valid parse.
> Not surprised MS failed to pick the syntax error.
>
> -am
>
>
Received on Thu Jul 09 1998 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US