This page (http://msdn.microsoft.com/en-us/library/ms187928.aspx) lists all the conversion styles that are available in SQL. There is none that matches the exact format. But, 126 would, if you cut off everything after the 10th character. So you could do it like this:select convert(varchar(10),cast('19880330' as datetime),126);That varchar(10) which is the length of the output string ensures that you get only the first 10 characters.Another alternative would be to just "stuff" two dashes into the string:select stuff(stuff('19880330',7,0,'-'),5,0,'-');Tara listed some of the other alternatives.