漂亮男人2017-05-24 11:35:09
建立唯一索引
單鍵索引:create unique index UNIQUE_PERSON_NICK_NAME_INDEX ON Person (NickName)
create unique index UNIQUE_PERSON_NICK_NAME_INDEX ON Person (NickName)
双键索引:create unique index UNIQUE_PERSON_FULL_NAME_INDEX ON Person (LastName, FirstName)
雙鍵索引:
create unique index UNIQUE_PERSON_FULL_NAME_INDEX ON Person(
MYSQL完整建立索引語法:
MYSQL5.7 CREATE INDEX Syntax
回覆0