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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
talendtester
Creator III
Creator III

SQL escape special characters - need help

I have a tTeradataInput component which I am trying to run more complex SQL.
Usually it runs fine but this time my SQL has single quotes, vertical pipes, plus signs, exclamations marks, equal signs
I am pretty sure the problem is the exclamations marks, how do I get Talend to ignore it and pass it to the database?
example:
AND t1.col1         != t2.col2
AND t2.col1         != t1.col1
Labels (2)
1 Reply
talendtester
Creator III
Creator III
Author

This works:
AND t1.col1 <> t2.col2
AND t2.col1 <> t1.col1
Any ideas how to make != work?