Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to update two columns based on globalMap (which gets the jobs ID).
This is my query that I have in query editor:
UPDATE jobs SET succ_flag = 'success', last_exec_complete = current_timestamp WHERE job_id ='" + ((String)globalMap.get("myJob")) +"'
But that gives me this error:
ERROR: invalid input syntax for integer: "" + ((String)globalMap.get("myJob")) +""
Position: 94
How am I supposed to add globalMap to my query?
int4