what is d diff between grant,commit,rollback n savepoint

Answer Posted / priya ramesh

grant - it is a statement of DCL (DATA CONTROL LANG)

granting previleges to the user

Commit,Rollback and savepoint are the statements of TCL (TRANSACTION CONTROL LANG)

Commit - Makes a permanent change to the data in the database
Rollback - The changes made in the data can be undone using roll back statement

savepoint - The point upto which the data can be commited while the rest of the datas can be rollbacked as necessary

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can triggers stop a dml statement from executing on a table?

805


How many triggers can be applied to a table?

779


Why do we use joins in sql?

691


How does sql developer connect to oracle database?

737


What is trigger and stored procedure in sql?

752






What is minus?

756


when is the use of update_statistics command? : Sql dba

685


What does where 1 1 mean in sql?

746


what is single byte over head in oracle..?

2090


Can I create table without primary key?

733


Define implicit and explicit cursors.

808


What are actual parameters and formal parameters?

773


What is a database event trigger?

799


Is sql free?

672


What is full join in sql?

713