sqlserver 时间格式 取年月日时分

select substring( convert(varchar,getdate(),120),1,16)

原文地址:https://www.cnblogs.com/luoguixin/p/12081859.html