oracle - Which are all the statements will lead to commit in a PL/SQL procedure? -


i'd written pl/sql procedure in oracle 11g. don't have truncate, create or commit statements session still getting committed. i'm using sql developer , pl/sql developer.

can tell me statements lead commit inside procedure or function?

all dml statements (insert/delete/update/merge) don't commit in pl/sql.

all ddl statements do commit (alter/create...), if statement fails. if you're running dynamic statement (execute immediate) runs ddl, commit transaction.

some dbms packages have procedures commit, example dbms_stats. quite cumbersome list them all. read appropriate documentation when you're using dbms package.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -