THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Browse by Tags

All Tags » bad habits » forward compatibility   (RSS)
  • Bad Habits to Kick : Using shorthand with date/time operations

    I've come across quite a bit of code that uses date/time shorthand that can either be confusing or downright dangerous. There are two areas I want to focus on: shorthand for date arithmetic, and shorthand for date parts. Date Arithmetic This one I mentioned quite briefly in a previous ''Bad Habits to Kick'' post, but I see it in use enough ...
    Posted to Aaron Bertrand (Weblog) by AaronBertrand on September 20, 2011
Privacy Statement