So I have Two columns Id like concatenated together, have the dashes and the first two characters removed, as well as define the number of digits returned.
Example
Po_no value is 18-29201-202
Line_no value is 6 (id like to return this as 006)
Id like to end up with this 29201202006
Right now I am combining them and removing the dashes with this:
concat(replace(oe_hdr.po_no, '-', ''), job_price_line.line_no) as [PO and LINe NO],
With a result of:
18292012026
How could I also remove the first two digits of po_no and also ensure that the line_no is always three digits long?