OracleBulkCopy.WriteToServer() Method Disregards Primary Keys On Destination Table
(Doc ID 1181547.1)
Last updated on FEBRUARY 15, 2019
Applies to:Oracle Data Provider for .NET - Version 22.214.171.124 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
***Checked for relevance on 23-Dec-2013***
When using the Oracle Data Provider for .NET (ODP.NET) OracleBulkCopy.WriteToServer() method your are able to add duplicate data into the destination table even if a primary key exist on the data that would normally prevent it from being added from a SQL environment.
Here is an example of the problem...
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document