SQL Date from DateTime

Extract Date from Datetime field in SQL
An old method I found in my archive.

CodeFunctionName
What is this?

Public

Not Tested

Imported


Select convert(datetime,convert(char(10),getdate(),101))

Views 146

Downloads 46

CodeID
DB ID