Home Forums SQL Server 2014 Development - SQL Server 2014 Query issue 2 RE: Query issue 2
Erland Sommarskog
SSC-Insane
Points: 24038
More actions
August 29, 2013 at 3:23 pm
#1646159
It's as easy as this:
SELECT format(getdate(), 'MM/dd/yyyy HH:mm:ss')
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]