Home Forums SQL Server 2005 T-SQL (SS2K5) convert from MM/DD/YYYY to YYYYMMDD RE: convert from MM/DD/YYYY to YYYYMMDD
Lynn Pettis
SSC Guru
Points: 442467
More actions
October 23, 2007 at 9:21 am
#744595
Hopefully the code I provided works for you, but I (and I am sure others will agree) think it is not a good idea to store dates as integer values. Dates should be stored as dates.
😎