SELECT OBJID,NAME,CONVERT(varchar(19), CREATIONDATE, 120) AS CREATIONDATE
FROM [dbo].[SYS_DOCUMENTREV]
WHERE NAME LIKE 'test%.pdf'
ORDER BY CREATIONDATE DESC
标签:转化成,datetime,server,sql,CREATIONDATE,NAME
From: https://www.cnblogs.com/yddwinter/p/17395074.html