Question

How to skip row in data file based on a condition while using sqlldr (sql*loader)

Rating7.0Very Good

I have a datafile that look like the following.  I can figure out how to skip the first 7 rows with the option skip=7.  
But how can I make sqlldr skip the last two rows.
Also, if I wanted to skip the 2nd file (bb_0023.xml, is there a way to include a condition to do this?
-----BeginData----
 Volume in drive C has no label.
 Volume Serial Number is A43E-5F16

 Directory of C:\temp\sqlldr\2006.04.27\data

04/28/2006  12:40 PM    <DIR>          .
04/28/2006  12:40 PM    <DIR>          ..
04/28/2006  12:40 PM          10531136 aa_0011.xml
04/28/2006  12:40 PM          11799833 bb_0012.xml
04/28/2006  12:43 PM           1186687 cc_0013.xml
               3 File(s)     1288737943 bytes
               2 Dir(s)    215812476928 bytes free
-------------End Data-----------

Thanks

See More

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution
View This Solution - Start Your 30 Day Free Trial
Zone
General
Tags
skip sqlldr row
Participating Experts
1
Solution Grade
A

Replies

 
by: ravindran_eee

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: tdsimpso

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: tdsimpso

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: ravindran_eee

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: tdsimpso

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by:

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: tdsimpso

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: ravindran_eee

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Stay Connected

Oracle Around the Web

The latest Oracle news, tips, and tricks

Oracle Unveils Netra SPARC T3 Servers

New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...

read more

Oracle fixes 21 flaws in Java SE, Java for Business

Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...

read more

Obama’s Silicon Valley “Tech Supper”

Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...

read more

Featured Oracle Experts

slightwv

slightwv has answered more than 2,000 Oracle questions and oversees database management within the U.S. Government. Slightwv

sdstuber

A regular presenter at the Collaborate conference, Oracle developer sdstuber is a top expert in PL/SQL and Oracle 9, 10 and 11. sdstuber

Testimonials

What users are saying about our experts

"The Oracle gurus provide answers, solutions and valuable workarounds"

User: schwertner

"Wow! Excellent, valuable explanation. Hats off to you"

User: aseshu70

"Solution worked fantastic and performs excellent! Thanks heaps"

User: klausbrandlhuber

Top Experts

  1. johnsone

    2,000

    0 points yesterday

    Profile
  2. slightwv

    2,000

    0 points yesterday

    Profile

BrowseBecome an Expert