select convert(char(8),getdate(),112)
So these days I'm using this:
select DATEADD(dd, DATEDIFF(dd,0,getdate()), 0)
Put butter in your mixer, add sugar, set on low. Write a stored procedure to keep track of jobs that won't run. Add flour. Use a DMV to find unused indexes. Add eggs. Bake in an MDF with 20% free space.
select convert(char(8),getdate(),112)
select DATEADD(dd, DATEDIFF(dd,0,getdate()), 0)
No comments:
Post a Comment