I have a table in SQL Server 2005 that has a date field. I want to save the date time value in a format mm/dd/yyyy hh:mm:ss, but I think SQL Server allows date time in a format yyyy-mm-dd HH:mm:ss.ll.
I can save the date value in a format mm/dd/yyyy hh:mm:sslike varchar, but this defeats my intention to sort the table into a date date field.
Is there anything in my approach? Any suggestions?
amuses
source
share