What Does Commit Do ?
Answers
Answered by
0
Use the COMMIT statement to end your current transaction and make permanent all changes performed in the transaction. A transaction is a sequence of SQL statements that Oracle Database treats as a single unit. This statement also erases all savepoints in the transaction and releases transaction locks.
Until you commit a transaction:
- You can see any changes you have made during the transaction by querying the modified tables, but other users cannot see the changes. After you commit the transaction, the changes are visible to other users' statements that execute after the commit.
- You can roll back (undo) any changes made during the transaction with the ROLLBACK statement.
Similar questions
Social Sciences,
6 months ago
Social Sciences,
6 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Science,
1 year ago