I am running a database query and would like to prepend the ID field with the letters “LG”. A result would be something “LG23493” (where the ID is 23493). I know I can probably do this afterwards with some script, but I want to do this within the actual query.
Share
The concatenation operator in Firebird is
||, so you would want something like'LG'||id.