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

Home -> Community -> Usenet -> c.d.o.misc -> Times and dates in Oracle

Times and dates in Oracle

From: Eamonn Keating <oristech_at_tinet.ie>
Date: Tue, 3 Aug 1999 17:34:16 +0100
Message-ID: <7o75q0$4nd$1@scotty.tinet.ie>


I want to write a script to create a table which includes a date and time field. How can this be done in oracle. When I do the following :

CREATE TABLE SPECAUD
 PARTCODE VARCHAR2(12) ,
 CHANGE_DATE DATE,
...
CONSTRAINT SPECAUD_PRIMARY_KEY PRIMARY KEY ( PARTCODE,CHANGE_DATE,REV_NO)); it will not allow me to enter a time value with the date field. Also is it possible to create a field holding only the time Any help in this regard would be greatly appreciated. Eamonn Received on Tue Aug 03 1999 - 11:34:16 CDT

Original text of this message

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