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

what is auto increment? : Sql dba

661


What is sql procedures and functions?

634


What are transaction and its controls?

637


How to change sql*plus system settings?

633


What is bitemporal narrowing?

855






What is a trigger word?

615


What is structural independence and why is it important?

649


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

6358


Is and as keyword in pl sql?

602


How many types of triggers are there in pl sql?

677


how to include numeric values in sql statements? : Sql dba

649


Is there a way to automate sql execution from the command-line, batch job or shell script?

644


What is clustered index sql?

578


What has stored procedures in sql and how we can use it?

658


Does a join table need a primary key?

625