I keep getting the following error.
Server: Msg 8115, Level 16, State 2, Line 3
Arithmetic overflow error converting expression to data type datetime.
Server: Msg 8115, Level 16, State 2, Line 3
Arithmetic overflow error converting expression to data type datetime.
Code:
DECLARE @i int
SELECT @i = 20060703
SELECT convert(varchar, convert(datetime, @i), 101) AS "Formatted Int"