Is there a property that I can add to a column so that it converts its value to lowercase? Instead of doing it for every single value through PHP?
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.
You could probably do it through a trigger that fires on insert or update. Myself, I’d rather just create a view that has a lower-case version of the column in question. The SQL for the view might look like