what is the difference between primary key and foreign key

Answer Posted / s g



Primary key is used to identify a row in a table and it
doesnot allow null values. It avoids duplication of rows.

whereas foreign key refers to a column or combination of
columns included in the defenition of referential integrity

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you use any automation tool for smoke testing?

778


When to stop testing? (Or) how do you decide when you have tested enough?

639


What is unit level testing?

644


how to write defects in excel sheets when defects occured

1535


What is frame level testing and how do we test it?

1962






do we require any scripting languae to write test cases in test director? what for it is used?it is like back end?only database we can there?

1646


. Is any graph is used for code coverage analysis?

2116


Manual and automation how do they help in bringing out quality product? Explain?

1474


What types of software testing are available?

690


Hi, This is vkram.I had completed my B.E in May 2005 & currently i am undergoing Testing Course. I want to join as a Fresher in any MNC. What should I tell why u r coming to testing field & what u did this 2 years?

1518


What are noise variables?

1959


what are the test bugs

1490


Can you explain the various elements of function points ftr, ilf, eif, ei, eo, eq, and gsc?

766


Can anyone write test cases on google account creation page in the testing template format , urgent pls and explain if possible how to execute also

1581


How is ‘build’ different from ‘release’?

635