What is the SQL index name for?

后端 未结 6 681
深忆病人
深忆病人 2021-01-04 10:58

In SQL, when I create a database index, I\'m required to give the index a name, as in

CREATE INDEX timestamp_index ON hit (timestamp);

The

6条回答
  •  情深已故
    2021-01-04 11:08

    It's also helpful when viewing/reviewing execution plans (at least in SQL Server), since the indexes used are shown by name.

提交回复
热议问题