Short Question:
What's the best date format to use in SQL Server?
Long Explanation:
We're converting our database from mysql to SQL Server. In mysql we always used int(11)
to avoid the daylight savings time issue, should we be doing the same in mysql (or is DATETIME
good enough)?
The use of the dates vary. Most of the time they're just informative about when various things occurred (for logging purposes). Sometimes they are used to order work to be done.
We're using 2005 (sigh), but I'd love to hear about 2008 as well.