Skip to main content
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