Database Utilities (MOSC)

MOSC Banner

external tables with decode function

edited Oct 25, 2012 9:58AM in Database Utilities (MOSC) 3 commentsAnswered ✓
Hi,

I have created the following external table without a decode function as it is not supported. And that, I am using the decode function in the select statement to read the table, but it is failing with the below error.   Please let me know if my decode statement is correct or not. And also, please calrify me if we can use decode function in the select statement to read the external table. 

Your help is really appreciated.

DDL:

CREATE TABLE xtern_OCT._IC011D_11.  (
COMPANY_NUMBER             VARCHAR2(03),
AGENCY_NUMBER              VARCHAR2(06),
LINE_OF_BUSINESS           VARCHAR2(02),
UNIT_NUMBER                VARCHAR2(04),
POLICY_NUMBER              VARCHAR2(10),

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center