SELECT Right(Replicate('0', 11) + Cast(InventoryID As varchar(11)), 11)
+ ' | '
+ Description As field_name
FROM your_table
This will pad your InventoryID
with leading zeroes, 11 to be exact, as this is the maximum number of "characters" an field of datatype int
can be (-2,147,483,648).
Then it appends |
(space, pipe, space) before finally adding the description field