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

Answer Posted / ashu_deepu

rollback is used to revert back the changes which we have made in the databases.when we do the rollback we return back to the last commit point which we have made.

commit is use to make the changes in the databases permanently. the values of the variables are written to the databases or disk.

FK can have null value but primary key can't have null value.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between interval year to month and interval day to second?

743


What is the meaning of recursive hints in oracle?

727


How to display employee records who gets more salary than the average salary in the department?

791


what is difference between sql plus and sql*plus? (not sql and sql plus).

3535


State and explain about oracle instance?

723






What is oracle in java?

715


What is a procedure in oracle?

769


what is the scripts in data base?

1809


What is flashback in Oracle?

731


How do I call oracle stored procedures that take no parameters?

762


What is data block in Oracle?

817


How will you differentiate between varchar & varchar2?

780


Can objects of the same schema reside in different tablespace?

769


How to define an anonymous procedure with variables?

730


What are a cluster and non-cluster index?

736