i am beginner in MS sql db .
so can any one explain me detail about Foreign key and primary key ,
please give example also ,
thank;s in advance.....
Primary key is the unique identifier of a row of data. like:
dogid is the dog spots unique identifier in the db. dogbreadid is the foreign key. this links the dog to the bread table.
this lets you know that spot is a Chihuahua.
does this help you any?