SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using SQL Server 2008 or later
select convert(date, getdate())
Otherwise
select convert(varchar(10), getdate(),120)