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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
MVP
MVP

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
MVP
MVP

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

rwunderlich
MVP
MVP

What database platform are you connecting to?

-Rob