Its not working in plsql
sai, February 27, 2018 - 11:19 am UTC
begin
for i in 1..5
loop
insert /*+ IGNORE_ROW_ON_DUPKEY_INDEX (t (pk)) */ into t values(i);
end loop;
end;
ORA-01400: cannot insert NULL into xyz)
ORA-06512: at line 6
01400. 00000 - "cannot insert NULL into (%s)"
*Cause: An attempt was made to insert NULL into previously listed objects.
*Action: These objects cannot accept NULL values.
Soryy its working
sai, February 27, 2018 - 11:29 am UTC
Am just confused.