Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

((Integer)globalMap.get()) double quote error

Hi,

I have created row3.diff (integer field) and try to pass into query like

update tmp
set somevalue='Y'
where tmp.inDate < dateadd(day, ((Integer)globalMap.get("row3.diff")), tmp.outDate)

 

job cannot run and show error:

syntax error at or near "globalMap" 

I have tried to change to

...

where tmp.inDate < dateadd(day, '"+((Integer)globalMap.get("row3.diff"))+"', tmp.outDate)

nothing works. Can anybody help me how I should modify?

 

Thank you very much!

 

 

 

 

Labels (1)
  • v7.x

1 Reply
Anonymous
Not applicable
Author

I believe you are using the dateadd function incorrectly. There are no quotes around "day", yet you have single quotes around the diff value. Can you copy and paste your entire query (with all quotes) and let us know which database you are using. I'm assuming it is Oracle?