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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] URGENT: please help How can I write a query with double quote?

Hi,
I had an OracleInput which I had the following query:
"SELECT "+context.oracle_Schema+".tablea"+".ID,
"+"REGEXP_SUBSTR(REGEXP_SUBSTR("+context.oracle_Schema+".tablea"+".linkdesc,'+',1,1),'+',1,2) linkdesc"
+"FROM "+context.oracle_Schema+".tablea"
I encountered the following errors:
Multiple markers at this line
- Syntax error on token ""+"", delete this token
- Syntax error on token ""+"", delete this token
- Syntax error, insert ";" to complete Statement
- Syntax error, insert ")" to complete MethodInvocation
- Syntax error, insert "AssignmentOperator Expression" to complete
Assignment
- Syntax error, insert ";" to complete Statement
- Syntax error, insert "AssignmentOperator Expression" to complete
Assignment
- Syntax error, insert ";" to complete Statement
- Syntax error on token ""+"", ) expected
- Syntax error on token ""+"", delete this token
I am wondering how can I have a query with double quotes?
Any help is really really appreciated!
Thanks in advance!
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

You have to escape the double quote in the SQL Query with \ (\")

View solution in original post

1 Reply
Anonymous
Not applicable
Author

You have to escape the double quote in the SQL Query with \ (\")