While executing the procedure on Postgres server having single cote on date pattern causing below error.
ERROR: Exception Primary Reason: ERROR: syntax error at or near “YYYY”
Actual : to_timestamp(datetime,‘YYYY-MM-DD HH24:MI:SS’),
to_timestamp(timestamp,‘YYYY-MM-DD HH24:MI:SS’),
when i tried to update single cote to double cotes after that execution of procedure works fine. when i insert some data getting below error because it should be in single cote like ,‘YYYY-MM-DD HH24:MI:SS’
ERROR: column “YYYY-MM-DD HH24:MI:SS” does not exist
LINE 27: to_timestamp(datetime,“YYYY-MM-DD HH24:MI:SS”),
^