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: sql wrong? missing left parenthesis error?

Re: sql wrong? missing left parenthesis error?

From: Vladimir M. Zakharychev <bob_at_dpsp-yes.com>
Date: Mon, 18 Nov 2002 21:01:26 +0300
Message-ID: <arba1l$1td$1@babylon.agtel.net>


Yeah, for example I see no commas delimiting column names, wrong FK syntax and wrong PK syntax. Consult SQL Reference for correct CREATE TABLE syntax.

--
Vladimir Zakharychev (bob@dpsp-yes.com)                http://www.dpsp-yes.com
Dynamic PSP(tm) - the first true RAD toolkit for Oracle-based internet applications.
All opinions are mine and do not necessarily go in line with those of my employer.


"Sandy" <sandytschaefer_at_hotmail.com> wrote in message
news:1e05aa4d.0211180954.7f995291_at_posting.google.com...

> I can't see anything wrong with this sql statement but SQL*Plus
> doesn't seem to like it. Anyone else see something wrong?
>
> *****************************
> SQL> ed
> Wrote file afiedt.buf
>
> 1 CREATE TABLE kodUserSession (
> 2 SessionID
> 3 UserID
> 4 foreign key User
> 5 LogonStamp
> 6 LogoffStamp
> 7 IPAddress
> 8 constraint kodUserSession_PK PRI
> 9 )
> 10* tablespace KOD_DATA
> 11 /
> foreign key User
> *
> ERROR at line 4:
> ORA-00906: missing left parenthesis
> *******************************************************
Received on Mon Nov 18 2002 - 12:01:26 CST

Original text of this message

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