Is it possible to edit the values of some rows in the results?
Specifically I want to be able to round off dates to the nearest hour inside the results themselves.
Is it possible to edit the values of some rows in the results?
Specifically I want to be able to round off dates to the nearest hour inside the results themselves.
I ended up doing:
SELECT DATEADD(minute, DATEDIFF(minute,0,DATETIME) / 30 * 30 ,0) AS "Rounded Time"