Hi,
I have a numeric column that is representing seconds.
How can I format these values in an sql statement to a string format 'HH:mm:ss'?
Best regards,
Stijn.
Hi Stijn,
Please try:
DECLARE @S INT SET @S=80 SELECT CONVERT(VARCHAR(8),DATEADD(s,@S,0),108)
Stephanie Lv
TechNet Community Support
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?