what is primary key,unique key, foreign key? can u teach me
in simple language?

Answer Posted / kranthi

primary key: primary creates a clustered index on the
column and it doesn't allow null values.

unique key: unique key creates non clustered index by
default.it allows "one null value".

foreign key: A foreign key (FK) is a column or combination
of columns used to establish and enforce a link between the
data in two tables

Is This Answer Correct ?    212 Yes 76 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do Data size testing? Who does this testing (Developer or tester)?

2114


Explain the table term used in database.

559


How do I manually create a database?

553


what is the full procedure for using store procedure in informatica7.1?

1802


Explain phantom deadlock?

768






How much does it cost to build a database?

560


What is the difference between data source and database?

532


Explain natural key?

606


What is the concept of Virtual field?

1608


Difference between sql and mysql?

1614


What is the purpose of TNS?

643


How to do performance tunning a database in DB2 V8.2 UDB in linux

1835


Can we use redis as database?

536


What is the difference between a stored procedure and a query?

580


what is the role of auditor in auditing data oriented applications?

1917