Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: how to declare type data
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
![]() |
![]() |