I am trying to convert a date from DDMMYY
format to datetime
in SQL Server.
I am using the convert
command as follows
select convert (datetime, '311012', <style>)
I have tried looking on msdn for the supported styles but haven't found an exact match.
Help will be much appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…