What is the difference between primary, unique and foreign key constraints, and indexes?
I work on Oracle 10g and SQL Server 2008
What is the difference between primary, unique and foreign key constraints, and indexes?
I work on Oracle 10g and SQL Server 2008
Primary key mainly prevent duplication and shows the uniqueness of columns Foreign key mainly shows relationship on two tables