What is the SQL index name for?

后端 未结 6 682
深忆病人
深忆病人 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:06

    Sometimes it's necessary to do index hinting, whereby you tell the query engine what index it should be using. If your indexes don't have named, you can't do this.

提交回复
热议问题