When we check the Autotrace or SQL trace on any sql statement, it first executes the statement.
I want to know when it executes any DML statement, it will be autocommitted or we need to commit or rollback the statement?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
setting tracing on does not cause a commit. in sql*plus, the parameter that affects the auto-commit is “set autocommit on”. So when you trace a DML statement, you have to roll it back or commit it yourself unless you’ve turned on autocommit.