Back To Normal

Subscribe To Our E-Mail Newsletter

Thursday, April 29, 2010

What is Primary and Foreign key in databases?


Couch ModePrint It

Primary key:
   Each table can have one primary key, which uniquely identifies each row in a table and ensures that no duplicate rows exist.
 
   Foreign Key:
   On whichever column you put FOREIGN KEY constraint then the values in that column must refer to existing values in the other table. A foreign key column can refer to primary key or unique key column of other tables.

Click Here For Smileys :D
:D
:)
:[
;)
:D
:O
(6)
(A)
:'(
:|
:o)
8)
(K)
(M)

No comments:

560 Free Online Courses

Top 200 universities launched 500 free online courses.  Please find the list here .