SQL Server get Date part from DateTime

SELECT DATEADD(dd,0, DATEDIFF(dd,0,GETDATE()))

Comments

Popular posts from this blog

Parse XML to dynamic object in C#

C# Crop white space from around the image