Exp 9 TCL
Exp 9 TCL
AIM:
To execute and verify the TCL Language commands
PROCEDURE
STEP 1: Start
STEP 2: Create the table with its essential attributes.
STEP 3: Insert the record into table
STEP 4: use save point if any changes occur in any portion of the record to
undo its
original state.
STEP 5: use rollback for completely undo the records
STEP 6: use commit for permanently save the records.
SQL COMMANDS
INSERT
Q. Write a query to insert the records in to employee.
SELECT
SQL> SELECT * FROM EMP;
SAVEPOINT:
Savepoint created.
ROLL BACK
Rollback complete.
COMMIT
SQL> COMMIT;
Commit complete.