H
hoz
set @min = right('0' + cast ( datepart(minute, getdate() ) as char(2)),2)
select @min
I want to get the minutes as 2 char , lets say time is 16:12 , the minute
is 12 . if time is 16:01 , when i get minute 1 , how can i get minute as 2
chars
select @min
I want to get the minutes as 2 char , lets say time is 16:12 , the minute
is 12 . if time is 16:01 , when i get minute 1 , how can i get minute as 2
chars