SQL unique varchar case sensitivity question

后端 未结 3 1040
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-30 04:22

I\'m trying to populate a SQL table with a list of words. The table itself it pretty simple:

CREATE TABLE WORDS(
  ID BIGINT AUTO_INCREMENT, 
  WORD VARCHAR(         


        
3条回答
  •  眼角桃花
    2020-11-30 05:10

    I made my UNIQUE key varchar(1000). It worked.

    After some trial and error, I found anything greater than or equal to 1100 varchar would fail.

    To clarify I did not try between 1001 to 1099.

    Hope this helps.

提交回复
热议问题