we know that ,use SQLPLUS
we can set autocommit on/off
for exemple:
SQL> set autocommit off
SQL> show autocommit;
autocommit OFF
SQL> set autocommit on
SQL> show autocommit;
autocommit IMMEDIATE
And TOAD can "set autocommit on/off" too.
i want to know how to "set autocommit on/off" Use UniConnection in oracle
how to "set autocommit on/off" Use UniConnection in oracle
Hello,
To commit changes in UniDAC components manually you should start a transaction manually:
begin
UniConnection1.StartTransaction;
... // change your data
UniConnection1.Commit;
end;
All changes will be posted to the database after calling UniConnection1.Commit only.
If you do not start transaction manually all statements will be commited on execute.
To commit changes in UniDAC components manually you should start a transaction manually:
begin
UniConnection1.StartTransaction;
... // change your data
UniConnection1.Commit;
end;
All changes will be posted to the database after calling UniConnection1.Commit only.
If you do not start transaction manually all statements will be commited on execute.