What is the difference between primary, unique and foreign key constraints, and indexes?

后端 未结 7 849
情深已故
情深已故 2021-01-30 11:25

What is the difference between primary, unique and foreign key constraints, and indexes?

I work on Oracle 10g<

相关标签:
7条回答
  • 2021-01-30 12:06

    Primary key mainly prevent duplication and shows the uniqueness of columns Foreign key mainly shows relationship on two tables

    0 讨论(0)
提交回复
热议问题