
|
[oracle-l]
||
[Date Prev]
[10-2007 Date Index]
[Date Next]
||
[Thread Prev]
[10-2007 Thread Index]
[Thread Next]
RE: Date conversion question
- From: "Laimutis Nedzinskas" <Laimutis.Nedzinskas@xxxxxxxxxxxxx>
- To: <oracle-l@xxxxxxxxxxxxx>
- Date: Thu, 4 Oct 2007 09:23:52 -0000
Simple is good:
Import into staging table with all columns varchar2(4000) and do whatever
conversions, checks and validations you want in pl/sql
P.s. if performance, space or pl/sql knowledge is an issue then you can try to
load into the target table in one pass but I would not recommend that.
P.s.s. performance and space constraints could be lifted with external tables (
all columns varchar2(4000) of course! )
Laimutis Nedzinskas
Landsbanki Íslands hf.
Gagnagrunnsstjóri / DBA
Upplýsingatæknisvið / Gagnagrunnar
IT / Database Systems
www.landsbanki.is
-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On
Behalf Of Harvinder Singh
Sent: 3. október 2007 19:44
To: oracle-l
Subject: Date conversion question
Hi,
We have a flat file that contains a column and the values are stored as:
991123
421
60823
0
70930
Now we are moving data from flat file to table and this column will be inserted
into Date dataype column, What is the way to insert into this table and avoid
"ORA-01821: date format not recognized" errors.
Thanks
--Harvinder
--
http://www.freelists.org/webpage/oracle-l
Fyrirvari/Disclaimer
http://www.landsbanki.is/disclaimer
--
http://www.freelists.org/webpage/oracle-l
|

|