Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

pad zero sql server

input 3 >> output = 03
RIGHT('00'+CAST(months AS VARCHAR(2)),2))
 
PREVIOUS NEXT
Tagged: #pad #sql #server
ADD COMMENT
Topic
Name
3+1 =