Collections:
Commit the Current Transaction in Oracle
How To Commit the Current Transaction in Oracle?
✍: FYIcenter.com
If you have used some DML statements updated some data objects, and you want to have the updates to be permanently recorded in the database, you can use the COMMIT statement. It will make all the database changes made in the current transaction become permanent and end the current transaction. The following tutorial exercise shows you how to use COMMIT statements:
SQL> connect HR/fyicenter SQL> INSERT INTO fyi_links (url, id) 2 VALUES ('fyicenter.com', 101); SQL> INSERT INTO fyi_links (url, id) 2 VALUES ('centerfyi.com', 110); SQL> SELECT * FROM fyi_links; ID URL NOTES COUNTS CREATED ------- ---------------- ---------- ---------- --------- 101 fyicenter.com 07-MAY-06 110 centerfyi.com 07-MAY-06 SQL> COMMIT; Commit complete.
2019-09-04, 726👍, 0💬
Popular Posts:
How do you know if SQL Server is running on your local system in SQL Server? After installing SQL Se...
How To Convert Numeric Expression Data Types using the CONVERT() Function in SQL Server Transact-SQL...
How To Use GO Command in "sqlcmd" in SQL Server? "sqlcmd" is a command line client application to ru...
How To List All Login Names on the Server in SQL Server? If you want to see a list of all login name...
What Is the Difference Between GETDATE() and GETUTCDATE() in SQL Server Transact-SQL? The difference...