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 -> Re: how to declare type data

Re: how to declare type data

From: <davide_at_yahoo.com>
Date: 6 Nov 2001 15:02:03 GMT
Message-ID: <9s8u18$11pnkr$1@ID-18487.news.dfncis.de>


Sergio Cotti <sergiof31_at_hotmail.com> wrote:
> and i want to specify the format of the Date type.

The type DATE is stored internally as a number, you can insert values of type "date" using TO_DATE(...) and converting whatever information you have into a date, specifing this way the date/time. Then you can use TO_CHAR in the select instruction to retrive the same data in the format you like.

Davide Received on Tue Nov 06 2001 - 09:02:03 CST

Original text of this message

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