程序笔记
随心而记

SET LANGUAGE US_ENGLISH
SELECT GETDATE() AS NowTime,REPLACE(ISNULL(LEFT(CONVERT(VARCHAR(30),GETDATE(),7),6),''),' ','') AS NewTime

 

----------------------------------------------------------------------

Changed language setting to us_english.
NowTime                 NewTime
----------------------- ----------------------------------------------
2009-06-16 11:42:12.847 Jun16

(1 行処理されました)

posted on 2009-06-16 10:44    阅读(1307)  评论(0编辑  收藏  举报