Re: Sql * Loader
From: <dmolinier_at_gmail.com>
Date: 17 Apr 2006 11:32:13 -0700
Message-ID: <1145298733.902130.141170_at_v46g2000cwv.googlegroups.com>
Date: 17 Apr 2006 11:32:13 -0700
Message-ID: <1145298733.902130.141170_at_v46g2000cwv.googlegroups.com>
[Quoted] In fact, no... but you can do it nevertheless.
Assuming your Oracle version is > 8i, there is a new keyword "FILLER" than you can use to reach your need : use '*' (single star) as a separator, and modify your control file so that 5 fields will be loader from your data file.
[...]
name CHAR TERMINATED BY "*" ...,
dummy1 FILLER CHAR EXTERNAL TERMINATED BY "*" ...,
town CHAR TERMINATED BY "*" ...,
dummy2 FILLER CHAR EXTERNAL TERMINATED BY "*" ...,
country CHAR TERMINATED BY "*" ...,
[...]
Obviously, the "dummy" fields are not needed in the destination table.
Hope this helps...
-- DavidReceived on Mon Apr 17 2006 - 20:32:13 CEST