数据库
本类阅读TOP10
作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站
--每个分解在合并select CONVERT(datetime, DATENAME(yyyy,getdate()) + '-' + DATENAME(mm,getdate()) + '-' + DATENAME(dd, getdate()))
--取有效部分转换select convert(datetime,left(convert(varchar(10),getdate()),10))
--问题:有没有更好的?
相关软件: