Skip to content
Advertisement

Tag: transactions

Transaction Mode in SQL

I was reading through the BNF grammar for transaction statements and saw that transaction modes can be specified directly in the START TRANSACTION statement. Is there a difference in specifying transaction modes in START TRANSACTION vs SET TRANSACTION statements? Answer No difference. The SET TRANSACTION setting only affects the single next transaction to be started. Use SET SESSION to set

Oracle: When are constraints checked?

In my understanding constraints should generally be checked at the end of a transaction. So, in a simple example where we have one table A with the only column P, which is its primary key, and a table B with the primary key P and the foreign key F on A.P, the following should work (on empty tables): However, Oracle

Advertisement