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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
dmxmikey
Creator
Creator

Table mixed with upper and lower case

Have a table with mixed data in upper cases and lower case, and would like my script to ignore case sensitivity, my script looks like this at the moment, so how do I solve this.

All:

SQL SELECT

      "alg-code",

      "alg-stat",

      "p-code",

      "qual-code"

        

FROM PUB.Prodalg;

STORE All INTO \\TRS7\QLIKVIEWDATAFILES\QVDS\All.qvd;

Thank you

8 Replies
Not applicable

Hi,

Tablename:

Load upper("alg-code") as ALG-CODE ,

      upper("alg-stat") as ALG-STAT,

     upper( "p-code") as P-CODE,

  upper("qual-code") as QUAL-CODE;


SQL SELECT

      "alg-code",

      "alg-stat",

      "p-code",

  "qual-code"

      

FROM PUB.Prodalg;

STORE Tablename INTO \\TRS7\QLIKVIEWDATAFILES\QVDS\All.qvd;

Here what ever you want you can use upper(), lower()

dmxmikey
Creator
Creator
Author

attached is the data from my database and the qual-code field has a mixture of capitals and lower cases, so need to ignore case sensitivity.

Thanks

dmxmikey
Creator
Creator
Author

attached is the data from my database and the qual-code field has a mixture of capitals and lower cases, so need to ignore case sensitivity.

Thanks

Delivering the best in Foodservice...

Not applicable

Tablename:

Load  *,

  upper("qual-code") as QUAL-CODE;


SQL SELECT

      "alg-code",

      "alg-stat",

      "p-code",

  "qual-code"

      

FROM PUB.Prodalg;

STORE Tablename INTO \\TRS7\QLIKVIEWDATAFILES\QVDS\All.qvd;

Here what ever you want you can use upper(), lower()

dmxmikey
Creator
Creator
Author

I’m getting the below error when I load my data

thanks

Delivering the best in Foodservice...

Not applicable

Hi,

try this it will work

Tablename:

SQL SELECT

      "alg-code",

      "alg-stat",

      "p-code",

  "qual-code"

      

FROM PUB.Prodalg;

Tablename1:

Load  *,

  upper("qual-code") as QUAL-CODE

resident Tablename;

STORE Tablename1 INTO \\TRS7\QLIKVIEWDATAFILES\QVDS\All.qvd;

dmxmikey
Creator
Creator
Author

do i need to edit anything on your script? as im still getting error

Not applicable

Hi

can u post ur application