Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

SQL converte 'GGMMAA' in datetime

select convert (datetime,  Stuff(Stuff('311012',5,0,'.'),3,0,'.'), 4)