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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Ethel
Creator III
Creator III

SQL query

I have a long sql query that has a lot of unions, pivot tables etc. Is there a simple way I can use it in qlik sense without rewriting it on qlik language? I need to be able to change it in qlik sense and that's why I cannot just copy paste data and enter it manually. 

Please help! 

Thanks a lot in advance!

11 Replies
abhijitnalekar
Specialist II
Specialist II

Obviously, it will throw an error on your machine as this sample table is from my environment.

 You have to put your SQL query in this format

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
Ethel
Creator III
Creator III
Author

I found an error. The problem was with writing data into  #temptable. I replace it with "with temptable" statement and it worked!