Академический Документы
Профессиональный Документы
Культура Документы
They are
1. COMMIT
2. ROLLBACK
3. SAVE POINT
*Commit: This command is used to make changes permanent to the data base.
Syntax: COMMIT;
Ex:
Create table student(sno number(3),
Name varchar2(10),
Marks number(3));
COMMIT;
COMMIT;
*SAVE POINT: Save points are logical marking given for series of transaction.
Instead of complete rollback we can rollback to a save point.
Syntax: SAVEPOINT<SAVEPOINT_NAME>;
Ex:
Create table student3(sno number(3),
Name varchar2(10),
Marks number(3));
SAVEPOINT A;
ROLLBACK;
SAVEPOINT P;
SAVEPOINT Q;
Note: All the save points are lost when the DB is permanent.
*Object Privileges: These Privileges are given by one user to another user.
DBA
AJAY
COMMIT;
Examples of object privileges are select, insert, update, drop and alter etc.