what is the difference between rollback & commit?
can a foreign key has null value?

Answer Posted / vaibhavi_dixit

With commit, all the changes, which are made using insert,
update or delete SQL statments, are save permanently in the
table(ie DB).Whereas, if one want to undo the changes made
by DML statments, then before issuing commit, one can use
rollback statment.Rollback statment has no effect, if used
after commit.
Yes foreign key can have null value.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In what script is snap$ created? In what script is the scott/tiger schema created?

2489


What is the purpose of tables, private synonyms and public synonyms in Oracle?

825


Please explain drop constraint oracle?

834


How do I manually create a database in oracle?

760


Explain the difference between sap and oracle?

791


What is data block in Oracle?

870


What is meant by a deadlock situation?

819


What do you mean by redo log file mirroring?

767


What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

1765


How to retrieve data from an cursor to a record?

779


What is bulk copy or bcp in oracle?

852


What are the different types of database objects?

762


Give the various exception types.

760


15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.

2031


What is a proxy class?

766