I am trying to convert a date from DDMMYY format to datetime in SQL Server.
DDMMYY
datetime
I am using the convert command as follows
convert
select convert (datetime, Stuff(Stuff('311012',5,0,'.'),3,0,'.'), 4)