The columns in my table are currently “text”, I need to change them to “text collate nocase”. How would I go about doing this without losing data?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just run an
ALTER TABLEcommand on the column. You should not lose data, but test first.Check out the docs for the exact syntax;