oracle - what statements need to be committed?

后端 未结 4 1232
渐次进展
渐次进展 2020-12-12 18:04

What are the list of statements that need to be committed before further action on the table in order to avoid a lock? I am not talking about full transactions with multiple

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 18:44

    And a key point - although TRUNCATE TABLE seems like a DELETE with no WHERE clause, TRUNCATE is not DML, it is DDL. DELETE requires a COMMIT, but TRUNCATE does not.

提交回复
热议问题