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#

Parse XML to object model in C# using XSD utility