adspace


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

how to use regular expression in pattern match conditions? : Sql dba

1125


If a cursor is open, how can we find in a pl/sql block?

1252


Can we rollback truncate?

1086


Is primary key always clustered index?

1101


how many tables will create when we create table, what are they? : Sql dba

1157


what is dbms? : Sql dba

1072


Can we use distinct and group by together?

1148


What is the current version of postgresql?

1189


Does group by remove duplicates?

1122


Do we need to rebuild index after truncate?

1156


Is primary key clustered index?

1028


what is bcp? When does it used? : Sql dba

1065


define sql insert statement ? : Sql dba

1110


Is inner join faster than left join?

1289


How do I remove duplicates in two columns?

1203