I need to reject the rows from an external table which starts (first column of every row) with some special characters (eg. ~
\
etc) in a CSV file.
For that I have used LOAD WHEN
clause in the ACCESS PARAMETERS
clause. I have been using the following statement in the Access parameters clause:
load when (1:1) != '~'
But it throws an error stating "INVALID CHARACTER"
If I try to use the below statement,
load when (empname != '~empname')
It throws:
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-06512: at "SYSTEM.EMP_PROCEDURE", line 101
ORA-06512: at line 1
Line 101 in the procedure is select * from emp;
How do I use LOAD WHEN
clause - any examples?