Is table name prefix for fields to be update not allowed in SQL? Like:
UPDATE tablename
SET tablename.mycolums = true
WHERE ...
What is the SQL standard?
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 is not valid to prefix the column in the SET section with table alias in PostgreSQL, mentioned in the documentation:
It is also mentioned that this behavior conforms to the SQL standard.