有什么区别primary, unique and foreign key constraints, and indexes?
primary
unique
foreign key constraints
indexes
我致力于Oracle 10g and SQL Server 2008
Oracle 10g
SQL Server 2008
首要的关键:唯一标识每一行 它不能为空。 它不能是重复的。
外键:创建两个表之间的关系。 可以为空。 可以是重复的