I created a table with 3 columns
ID (Primary key), when (some varchar value), Created_date(timestamp)
Will naming a field with “When” creates any issue?
I have been querying like update table set table.when='$when' where ID='1'
Please suggest
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.
it’s ok as long as you have to use the tableName along with the column name
otherwise, wrap it with backticks
Other Link:
if possible don’t use names or identifiers which are on the reserved keyword list to avoid problems.