Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Identifying foreign key constraint violation errors

$
0
0

Whenever I get a Foreign Key constraint violation (such as below) the message does not indicate what table, column, or constraint is involved.  Sometimes I can work it out from the line-number in the procedure, but is there a more direct and informative way?

(I'm using SPS6)

 

Could not execute 'call P_POPULATE_BASE_DATA(0)' in 6.470 seconds .

SAP DBTech JDBC: [461]: foreign key constraint violation:  [461] RESDET.P_POPULATE_BASE_DATA: line 298 col 3 (at pos 13528): foreign key constraint violation exception: foreign key constraint violation


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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