Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- DATEADD(yy, DATEDIFF(yy,0,getdate()), 0) AS StartOfYear,
- DATEADD(yy, DATEDIFF(yy,0,getdate()) + 1, -1) AS EndOfYear
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement