Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2005, 11:37 PM
shazzyncs shazzyncs is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 17 shazzyncs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 53 m 51 sec
Reputation Power: 0
Unhappy data type checking!!!

Hey all...
can anyone help me how to check a data type.i'm doing a migration project and i need to import data from excel and text files to oracle database. now i need to know how to check the data types in those file eg. the correct date/time format so that i import the datas correctly to the oracle.anyone has any suggestion or ideas.thanx in advance..

Reply With Quote
  #2  
Old July 19th, 2005, 10:46 AM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,308 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 5 h 20 m 49 sec
Reputation Power: 48
sqlldr with a CTL file will create a log file with errors in it.

The safest way to do this is to create a temporary table which has the same columns - one temp table for one real table.

Run the sqlldr proc to point at the temp table. After each failed run delete everything from the temp table. Once all the data loads, use sql to insert the rows from the temp table into the real table. That way, you don't run the risk of screwing up production data. Or violating constraints.

Reply With Quote
  #3  
Old July 24th, 2005, 10:00 PM
shazzyncs shazzyncs is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 17 shazzyncs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 53 m 51 sec
Reputation Power: 0
hey thanx a lot for the idea..i'll try to do that

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > data type checking!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT