Windows Oracle Data Access Components (MOSC)

MOSC Banner

Using ODP.NET (OracleBulkCopy) to load tables over 255 columns

edited Aug 18, 2021 8:16PM in Windows Oracle Data Access Components (MOSC) Question

We're using a C# code to do bulk loads of data between our EDW and a Oracle Database. It is leveraging the OracleBulkCopy function from the Oracle.DataAccess library. The process is failing with a generic ORA error ORA-3137:[klaprs_61] for a handful of tables. We did notice that the tables that are failing have over 255 columns. I created a test table with 255 columns and one with 256 columns and the process works fine on the 255 columns table and fails on the one with 256 columns.

The trace log shows the INSERT statement and right after the VALUES it is bringing all the values as "NULL":

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