Hi
I have a table in SQL Server 2005 which has a date time field. I want to save the date time value in mm/dd/yyyy hh:mm:ss
format, but I guess SQL Server allows date time in yyyy-mm-dd HH:mm:ss.ll
format.
I can save date time value in mm/dd/yyyy hh:mm:ss
format as a varchar, but that defeats my intention of sorting the table on that date time field.
Is there something missing in my approach? Any suggestions?
cheers