Inserting values > 4000 characters into CXC_* tables

Question Recieved: We are encountering the following Error:
Error encountered when trying to build a particular SQL statement. The output of the error message is as follows:


SQLException in com.oracle.ugbu.cc.run.builder.SqlBuildStatementRow
Message: ORA-01461: can bind a LONG value only for insert into a LONG column

SQLState: 72000
ErrorCode: 1461
Statement causing error:
INSERT INTO CXC_SQL_BUILD_STMT ( CXC_SQL_BUILD_ID ,CXC_STEP_SEQ ,CXC_TOP_DOWN_SEQ ,CXC_STATEMENT_SEQ ,STMT_EXEC_CLASS ,CXC_SQL_TEXT ,ROW_VERSION ) VALUES (?,?,?,?,?,?,?)
Answer: This error occurs if the SQL value being inserted into CXC_SQL_BUILD_STMT exceeds 4000 characters, consider using pre-compiled PL/SQL functions or Temporary staging tables to ensure that individual SQL statements are not overly complex.

Comments

Popular posts from this blog

Bundle Corrections.

Database Upgrades and their impact on Conversion

Threading...