I don't know if this is possible in SQL Server but I'm gotta ask it ;-)
I have a column called duty
in a table work
.
So say Work.Duty
contains different numbers, like so (1, 2, 3, 20, 22, 305, 306, etc...
)
A duty number should always be 3 digits long, but they are imported from a flat file and they are supplied as is.
Is it possible to add 1 or 2 zero's in a statement so all duty numbers have 3 digits (001, 002, 020, 021, 305, 306)?