Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: WinNT / 8.0.5 / DECODE function affecting Century result in date
!! Please do not post Off Topic to this List !!Hi George
Your code looks fine to me and I have no idea why it wouldn't work. But if it turns into a pain in the neck, why not write a wee PL/SQL function to do the century thing for you and also trap nulls ?
There's a reason you might want to do this anyway: presumably you will sooner or later start receiving dates in the current century, e.g. if your file contains 000101 don't you want a function that will turn it into 01-JAN-2000 rather than 01-JAN-1900 ?
Cheers
Greg
-----Original Message-----
Sent: Wednesday, 12 September 2001 01:12
To: Multiple recipients of list ORACLE-L
date
List,
I have a 6-position column, bdate, in a text file that I am trying to SQL*Load formatted as yymmdd. When I use the following SQL operations I get the following results:
Thanks,
George
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: George Hofilena
INET: GHofilena_at_cnv.org
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Sep 13 2001 - 04:01:57 CDT
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |