Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2823

Re: DBSQL_DUPLICATE_KEY_ERROR

$
0
0

Hi Dipin,

 

for this scenario, there is the addition ACCEPTING DUPLICATE KEYS. So you can write:

 

INSERT ... FROM TABLE <mod_elem_tab> ACCEPTING DUPLICATE KEYS.


Then no exception is thrown but the sy-subrc is set to 4. All lines which could be inserted, will be inserted nevertheless.

 

Best regards,

Kilian.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>