Using SQL Query Analyzer:
How can I pad zero's in front of a varchar/str field to make the length 10 no matter how many characters are pulled in the query?
Ex: Pulling "U123", want it to display as "000000U123"
"LOCA01", want it to display as "0000LOCA01"
How can I pad zero's in front of a varchar/str field to make the length 10 no matter how many characters are pulled in the query?
Ex: Pulling "U123", want it to display as "000000U123"
"LOCA01", want it to display as "0000LOCA01"