User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 401,509 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,287 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Views: 1048 | Replies: 3
Reply
Join Date: Dec 2007
Posts: 4
Reputation: elferra is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
elferra elferra is offline Offline
Newbie Poster

Load date+hour with a ctl

  #1  
Dec 28th, 2007
Hi,

I'm trying to load a plain archive (txt) to an Oracle table with SQL Loader, but we are having problems when the field is a Date + time. Only Date gets saved into the field of the table, ignoring the time included.

When creating the archive the date + time field is saved converting it with a TOCHAR.

Any suggestions will be welcomed.

Thank u all in advance!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: UAE
Posts: 406
Reputation: Sulley's Boo will become famous soon enough Sulley's Boo will become famous soon enough 
Rep Power: 5
Solved Threads: 9
Sulley's Boo's Avatar
Sulley's Boo Sulley's Boo is offline Offline
Posting Pro in Training

Question Re: Load date+hour with a ctl

  #2  
Dec 28th, 2007
you can set a format mask for the date ..
dd-mm-rrrr hh24:mi:ss

Have you tried that
Reply With Quote  
Join Date: Dec 2007
Posts: 4
Reputation: elferra is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
elferra elferra is offline Offline
Newbie Poster

Re: Load date+hour with a ctl

  #3  
Jan 8th, 2008
Thnx, that worked for me

Reply With Quote  
Join Date: Dec 2004
Location: UAE
Posts: 406
Reputation: Sulley's Boo will become famous soon enough Sulley's Boo will become famous soon enough 
Rep Power: 5
Solved Threads: 9
Sulley's Boo's Avatar
Sulley's Boo Sulley's Boo is offline Offline
Posting Pro in Training

Help Re: Load date+hour with a ctl

  #4  
Jan 8th, 2008
np ..
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Oracle Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Oracle Forum

All times are GMT -4. The time now is 2:43 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC