vendredi 31 juillet 2015

SQL Date Queries

Please help me understand the SQL Select statement below:

Select DATEADD(DAY, DATEDIFF(DAY, 0, GETDATE()) - 1, 0)

The 0s are throwing me off.

Aucun commentaire:

Enregistrer un commentaire