If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
If the data type of "column" is char, varchar, etc, then the code you have should work. If it is not a character string data type (e.g. integer, date), then you will need to convert it to a string before you can concatenate to it.
No tonkuma, it will not work in db2.
In db2 we can give like
select concat(concat(column1,1234),'LAST) from table
But I need '-' in between those values..
What Tonkuma posted will work in DB2. Maybe you should post your actual query and the error you are getting. Also include what DB2 version and OS you are using.