I need to update a table with the field of another table for data after April 5.
I'm using this query, but it fails because the date can not be put there.
MERGE INTO a
USING b
ON b.cruceA=a.cruceB
WHEN MATCHED AND FECHA_CARGA>='2017-04-05'
THEN UPDATE SET a.campo1=b.campo2||a.campo3;
How can I specify the date correctly?