
Hi Julia,
Yes, that’s correct — if you don’t use a TCL command like COMMIT, your changes may not be saved permanently.
When you run SQL statements like INSERT, UPDATE, or DELETE, the changes happen in a temporary state called a transaction. They're not actually saved to the database until you explicitly commit them:
COMMIT;
If you don’t run COMMIT, and you close the connection or something goes wrong, those changes can be rolled back — meaning they’re lost.
You can also use:
ROLLBACKto undo changesSAVEPOINTto mark specific points you might roll back to
So yes — using TCL commands like COMMIT is what finalizes your changes.
If you have more questions, I am here to help.








