a very short note on a particular use of getdate() to obtain the today’s date with hours minutes and seconds set to midnight (00:00:00):
select dateadd(day, datediff(day, 0, getdate()), 0)
a blog on... well, many things, like internet, web development, mobile devices, flight simulation, and many other subjects... written and directed by "synchronicity coordinator" ila.
a very short note on a particular use of getdate() to obtain the today’s date with hours minutes and seconds set to midnight (00:00:00):
select dateadd(day, datediff(day, 0, getdate()), 0)
Posted by WinstonWolf at 8:53 AM
Labels: code, development, sql server
No comments:
Post a Comment