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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rustyfishbones
Master II
Master II

SQL SELECT Concat issue

Hi All,

I have the following piece of code for extracting from the DB and it works ok

CAST.png

However it does not concat the "trx-no" within the string and I get no error message

Any idea why I can't join the trx-no to the rest of the string?

Regards

Alan

11 Replies
rustyfishbones
Master II
Master II
Author

Excellent that fixes the issue

Thanks Steve

Regards

Alan

rustyfishbones
Master II
Master II
Author

final result is this

warehouse +

customer +

product +

"trx-by" +

CAST("trx-no" AS VARCHAR(20)) +

CAST("item-number" AS CHAR) +

CAST("line-number" AS CHAR)                AS TEST