Error BulkCopy with C# - Oracle.DataAccess.Client

asp.net c# sqlbulkcopy

Question

I have long field in my table. When I make the copies by bulkcopy the following message appears.

ORA-26089: LONG column "CORPO_EMAIL" must be specified last

I do not understand the reason for this error. Is there any special configuration I need to do for this column in a DataTable?

Accepted Answer

To resolve the issue you need to specify the LONG column ie, CORPO_EMAIL at the last.

The cause of this error is that a client of the direct path API specified a LONG column to be loaded, but the LONG column was not the last column to be specified.

Also check How to solve Error Code ORA-26089.



Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why