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: Beginner create table question

Re: Beginner create table question

From: Steve Mustanski <steve_mustanski_at_ici.com>
Date: 1997/11/24
Message-ID: <3479A50B.BF8@ici.com>#1/1

drichardson wrote:
>
> Hello,
>
> I am new to Oracle and I need to create a simple table, but when I attempt
> to create the table I get an invalid object (I think its object) error in
> line 3:
>
> create table SALESOUT (
> 2 Disti CHAR(50),
> 3 Date DATE,
> 4 Period NUMBER,
> 5 Sales Out NUMBER(9,2),
> 6 Bookings NUMBER(9,2),
> );
>
> Can someone look at my code and tell me if it is incorrect, I would really
> appreciate it.
>
> Thanks in advance,
>
> Dave

Hi, I am kind of new too, but I think I got it. I believe that "date" is a reserved word, so try "date_created" instead. Also, you will need to change line 5 to "sales_out". "sales 'space' out" will cause and error too. Also you don't need the ',' at the end of line 6 (also causes and error).

Hope this helps. Received on Mon Nov 24 1997 - 00:00:00 CST

Original text of this message

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