Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
変換方法
yyyymmddhhmm
に
yyyy-mm-dd hh:mm:ss.uuu
SQL Server 2008 で?
取得してデータベースに挿入しますか?
とにかく、CONVERT()関数で変更および変換できます
このコードを試してください
SELECT CONVERT(datetime, Update_Date , 126) FROM Tbl_TEST
参考のため
http://www.petefreitag.com/item/687.cfm
http://www.sqlusa.com/bestpractices/datetimeconversion/