Wednesday, August 17, 2011
FYI - Fn for Tuning Excel Dates into T-SQL Dates (ISO 8601 standard format)
=TEXT(B5,"yyyy-mm-dd")
i.e.
07/14/11 becomes 2011-07-14
07/22/11 becomes 2011-07-22
07/28/11 becomes 2011-07-28
08/05/11 becomes 2011-08-05
08/11/11 becomes 2011-08-11
08/19/11 becomes 2011-08-19
08/25/11 becomes 2011-08-25
09/02/11 becomes 2011-09-02
Credit: http://michiel.wordpress.com/2010/03/26/convert-excel-date-value-to-sql-date/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment