Is there a way to get the offending duplicate row on constraint violation exception?

时间:2015-09-14 15:24:08

标签: sql oracle oracle11g

I have an insert from select statement in oracle:

insert into T1(c1,c2,c3) 
values (v1,v2,v3)
(select v1,v2,v3) from ...)

and I get an ORA-00001 - UK constaint violated.

Is there a way to get what row is throwing this exception?

0 个答案:

没有答案