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 with DATE

Re: create table with DATE

From: Tim Lange <tim.lange_at_abbott.com>
Date: Thu, 29 Jul 1999 11:13:46 -0500
Message-ID: <37A07DBA.ECFBD66F@abbott.com>


I think your problem is the column named "START". Try issuing the create table after changing the column names (and remove one of the closing parenthesis).

create table phase(
phaseid VARCHAR(10),
start_date DATE,
end_date DATE);

Finnegan Calabro wrote:

> It was my understanding DATE could be used as a normal datatype, but I get
> an error with the following sql command (may or may not be because of the
> DATE command):
>
> create table phase(
> phaseid VARCHAR(10),
> start DATE,
> end DATE));
>
> Thanks!
> Finn
Received on Thu Jul 29 1999 - 11:13:46 CDT

Original text of this message

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