Hi all. i wonder what is the purpuse of primary key and foreign key? could any one explain it to me as i am new to sql world. Furthermore, at what stage should we define the primary key and forgign key? After creating tables ? What is best practice. I be happy if explain these in the sql server 2000 environment.Thanks