I've always been amazed by how Oracle Database handles updates to a unique column—performing set-based operations that don't violate the unique constraint, yet when executed row by row, it temporarily permits duplicates.
SQL> create table franck ( val int unique );
Table created.
SQL> insert into franck values (-1) , (1) ;
2 rows created.






