SQL Loader date time conversion problem [message #224540] |
Wed, 14 March 2007 11:32 |
ejoerden
Messages: 5 Registered: March 2007 Location: Germany
|
Junior Member |
|
|
Hi,
got a field terminated file including data like the following:
"2007-03-14","10:00:00","12:00:00"
meaning action date, starttime, endtime
Need to get this into a table with columns
actionstart date
actionend date
Been trying with filler, ref and else for a whole day now
but can't get it done.
Anybody got a solution?
Tnx
Ewald
|
|
|
|
Re: SQL Loader date time conversion problem [message #224546 is a reply to message #224540] |
Wed, 14 March 2007 11:40 |
aciolac
Messages: 242 Registered: February 2006
|
Senior Member |
|
|
You can simply load this dates into a table(for example with 3 varchar2 columns) by SQLLoader, and reformat them after, with SQL functions. Also in UNIX You can use some combination of awk and SQLLoader and load dates directly as You need.
|
|
|
|
|
|
Re: SQL Loader date time conversion problem [message #224554 is a reply to message #224549] |
Wed, 14 March 2007 11:55 |
ejoerden
Messages: 5 Registered: March 2007 Location: Germany
|
Junior Member |
|
|
Hi anacedent,
the date to be loaded will come from another applications database where it's alreay checked for consistency.
If there were consistency problems the developers will have to
deal with it. I simply have to make the data available to them in the fastest possible way.
Ewald
|
|
|
|
|