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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
stew_scott90
Contributor II
Contributor II

SQL Substring

I use the following Substring in an SQL statement in a few different apps and it works as expected:

Substring(Upper(Coeuser),10,100)as `MgrCoeuser`

I've created a new app and am trying to reuse the string above and I'm receiving the following error(see image):error image.PNG

If I remove the Substring statement the data load completes without any issues.

4 Replies
sunny_talwar

Do you do the above within the LOAD statement or SELECT statement? I guess other dashboards might do it in LOAD and this one is doing in SQL SELECT.

stew_scott90
Contributor II
Contributor II
Author

This is located in the SELECT statement. When I try putting it in the LOAD it highlights the statement as an error.

sunny_talwar

Can you share the old and new script (just the load for a single table is enough)

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

What database platform are you connecting to?

-Rob