Altering Mysql Table column to be case sensitive

后端 未结 4 2059
轮回少年
轮回少年 2020-12-08 01:10

I have a table in my Mysql database, which is used for authentication. And now, I need to make the authentication case sensitive. Googling around, I have realized Mysql col

4条回答
  •  甜味超标
    2020-12-08 01:47

    You should be able to do something like this:

    Edit: Misread what you intended to do:

        ALTER TABLE USERS MODIFY
            USER_NAME VARCHAR(50)
              CHARACTER SET binary;
    

提交回复
热议问题