Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> SQL*Loader SQL Operator Limit
Hi, I'm trying to applying SQL operations in SQL*Loader.
In my SQL*Loader control file, I got something like:
LOAD DATA
REPLACE
INTO TABLE A_TEMP
(
SeqNum SEQUENCE(1,1), A POSITION(1:10) CHAR(10), B POSITION(11:13) CHAR(3), ... Control_Ind EXPRESSION "CASE WHEN :A IN
The data name and literals are dummy values just for demonstration purpose.
The problem is, when I run this, I got the following error:
SQL*Loader-350: Syntax error at line 31. Token longer than max allowable length of 258 chars
The problem is that SQL*Loader treats the "" SQL operation as a single token my token is way too long.
How can I handle this, I really want to do this processing while I load the data into the staging tables so that I don't need to update the staging table after the loading.
Thanks Received on Mon Aug 25 2003 - 03:29:48 CDT