Home Forums SQL Server 7,2000 T-SQL How Do I Zero-Fill an Int when converted to Char? RE: How Do I Zero-Fill an Int when converted to Char?

  • CONVERT(char(5),@dt,120)+RIGHT('0'+DATENAME(ww,@dt),2)