Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / ven

Commit made changes permenant to the database.
Rollback made undo the changes.

Yes, FK has null values.

Is This Answer Correct ?    23 Yes 2 No

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

Answer / 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

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

Answer / anjani kumar

Commits and Rollback both complete our transaction cycle.
we use commit to store the DML changes into DB but Rollback
performs undo to our DML transaction

Is This Answer Correct ?    5 Yes 1 No

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

Answer / komal

Roll back Undoes whatever add, delete update transactions
we do.
Commit saves the add,delete update transactions
permanenetly in the database.

However a DML statement if fired in between a transaction
commits the complete list of add, delete update statements
above.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / aditi

commit save the transactions done after the last commit and rollback undo all transactions after last commit
Yes foreign key can have null value

Is This Answer Correct ?    1 Yes 0 No

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

Answer / 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

More Oracle General Interview Questions

How to grant create session privilege to a user in oracle?

0 Answers  


What are ACID properties in databases?

1 Answers  


How do we get field details of a table?

0 Answers  


how to produce numbers from 1 to 10 using dual table

4 Answers   Genpact,


What is an oracle function?

0 Answers  


What is the disadvantage of User defind function?

0 Answers   CybAge,


What is Reduced List of Values?

0 Answers   iFlex,


what is shell?

2 Answers   Microsoft,


Difference between hot backup vs. Cold backup?

0 Answers  


What are inner join and outer join?

3 Answers  


what is Single Byte Overhead...?

0 Answers  


what is a cartition product?

4 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)