I get the SQL error ORA-00933 for the statement below. This parses in postgres, but not in oracle… How should this be formatted for oracle?
Thanks in advance!
UPDATE comments
SET parent_type='report'
FROM reports
WHERE comments.parent_id=reports.id;
Try this for Oracle:
Or if you’re trying to set the value equal to a value in another column:
This would work with MSSQL:
Good luck.