Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

External Table with Multiple WHEN Clauses

svalesmuSep 25 2018 — edited Sep 26 2018

Hello experts,

We're trying to create an external table with a single datafile feed and fixed positions.

Each record, depending on the first field, must be substringed with different lengths.

In SQL*Loader, there was a possibility to add to a single ctl several WHEN clauses to parse the same file and apply different substrings depending on the conditions, but we're unable to reproduce the same behavior with external tables.

Is it possible and if so, could you please provide us with an example?

Thank you all for your time and help.

Kind regards

This post has been answered by Gaz in Oz on Sep 26 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2018
Added on Sep 25 2018
5 comments
2,782 views