Index
Editor reference — Indexes
An Index belongs to a Table and is named within that table. The definition records index type, key order and physical options.
Relationships and properties
Key order starts at 1. A conventional index or primary key requires a key column. Columnstore indexes have separate column rules. Review unique, clustered and compression options against the intended SQL target.
Lifecycle and output
Saving the index changes metadata. The table generator emits the physical index definition. Review the target table’s existing data before applying unique or key constraints.
Example
Check whether CustomerID is unique before creating a primary key on a Customers table.