30-07-21 06:36 AM
When commit is executed, it commits all the other users DMLs as well not only the specific login user in Oracle DB.
Pl help me on the same.31-07-21 08:14 PM
03-09-21 12:08 PM
CREATE OR REPLACE PROCEDURE p_insert
AS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN -- Main transaction suspends here.
INSERT INTO your_table VALUES (1); -- Autonomous transaction begins here.
COMMIT; -- Autonomous transaction ends here.
END; -- Main transaction resumes here.