Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: date storage format Personal Oracle 7.3
Rich Scheipe a écrit dans le message <6kjjvg$sla_at_sjx-ixn6.ix.netcom.com>...
>Trying to figure out how to store a four character date in Personal Oracle
>7.3.
>Any help appreciated.
>Thanks,
>Rich Scheipe
>
>
four character date means YYYY or MMDD ? first, you have to define your NLS_DATE_FORMAT ( with YYYYMMDD for instance ) and you can use TO_CHAR and TO_DATE in you SQL command.
INSERT INTO EMP ( BIRTHDT ) VALUES ( TO_DATE( '19700323', 'YYYY') ); Good luck. Denis. Received on Mon Jun 01 1998 - 02:47:41 CDT
![]() |
![]() |