How to Format integer to 2 digit string in SQL SERVER? declare @value int = 2. select Format (@value, '0#'). Output: 02. Was this information helpful?
確定! 回上一頁