• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sql Loader Control file Urgent

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i m newbie to sqlloader. i m using this utility for my uploading a file in Data base. i m using a control file for that purpose, for that i my control file is

In the control file i want assign a condition(restrict the number of digits) for numeric values. Can i do it in Control file?


Help me it is urgently needed
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What kind of condition. I remember being able to use CASE statements in control files. However, that was over 3 years ago, so the exact syntax I don't remember. There is always the ability to load the data raw into a holding table and do a query on that table and also use conditionals. But you should be able to do that in the control file.

I know there is a SQLLDR guide online from Oracle on control files and it has everything you can put in them.

Mark
 
jothish chokkalingam
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mark
i have posted one more thread
https://coderanch.com/t/81024/Oracle-OAS/Loading-multiple-tables-delimited-file
can you kindly look in to it and solve the issue in it.
[ September 05, 2006: Message edited by: jothish chokkalingam ]
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unfortunately, I never had to load two tables from one control file.

But like in my previous response, it might be easier to load it into one table, then create a INSERT INTO b VALUES(SELECT FROM A WHERE something=something)

Other than that I highly suggest finding that Oracle manual on SQLLDR.

Mark
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic