Unique and Nonunique Indexes (195)
Indexes can be unique or nonunique. Unique indexes guarantee that no two rows of a
table have duplicate values in the key column (or columns). Nonunique indexes do
not impose this restriction on the column values.
Oracle recommends that unique indexes be created explicitly, using CREATE UNIQUE
INDEX. Creating unique indexes through a primary key or unique constraint is not
guaranteed to create a new index, and the index they create is not guaranteed to be a
unique index.
唯一索引和非唯一索引
1. 在一個表上建立唯一索引能夠保證此表的索引列不存在重複值.
2. Oracle 建議使用 CREATE UNIQUE INDEX 語句顯式地建立唯一索引.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-982355/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Sparse Indexes vs unique indexIndex
- Rebuild IndexesRebuildIndex
- ORACLE INDEXESOracleIndex
- MySQL中的 UNIQUE約束和UNIQUE索引MySql索引
- Oracle - Tables/IndexesOracleIndex
- Reverse Key IndexesIndex
- ORACLE -> NULL & INDEXESOracleNullIndex
- Overview of Partitioned IndexesViewIndex
- Local Partitioned IndexesIndex
- Global Nonpartitioned IndexesIndex
- Extents in Indexes (19)Index
- 翻譯(九)——Clustered Indexes: Stairway to SQL Server Indexes Level 3IndexAISQLServer
- skip_unusable_indexesIndex
- The Secrets of Oracle Bitmap IndexesOracleIndex
- Restrictions on Create Bitmap IndexesRESTIndex
- Global Range Partitioned IndexesIndex
- Global Hash Partitioned IndexesIndex
- Maintenance of Global Partitioned IndexesAINaNIndex
- Overview of Indexes (194)ViewIndex
- Indexes and Nulls (198)IndexNull
- Index Unique Scan (213)Index
- PostgreSQL DBA(195) - Limit&執行計劃SQLMIT
- SKIP_UNUSABLE_INDEXES InitializationIndex
- Choosing Composite IndexesIndex
- 建立Function-Based IndexesFunctionIndex
- How Indexes Grow and PctfreeIndex
- Bitmap Indexes and Nulls (224)IndexNull
- Partitioned Indexes on Composite PartitionsIndex
- 慎用 skip_unused_indexesIndex
- Delete indexes to free database.deleteIndexDatabase
- Composite Indexes (196)Index
- Indexes and Keys (197)Index
- Reverse Key Indexes (219)Index
- Bitmap Indexes (220)Index
- SQL Server Unique ConstratintsSQLServer
- Leetcode Unique PathsLeetCode
- For the modern unique years event soiree
- oracle Distinct|Unique 異同Oracle