SQL Server 2008 to increase slacking off at work by at least 15%
June 22, 2008 · Posted in SQL Server
Due to new syntax, you will actually be able to do the same stuff with less code. When we tack intellisense on top of that, we are definitely looking at being able to spend more time on twitter, Google Reader, Icanhascheezburger, and, my favorite, HotOrNot. Keep this between us, though. As far as management is concerned, SQL Server 2008 is all about lower TCO and higher ROI that will directly impact EBITDA. If they want to more details, just tell them it is Beyond Relational Rational.
1: --SQL Server 2005 - 168 characters
2: declare @ctr int
3: select @ctr = 1
4: while @ctr <= 100
5: begin
6: --Do your stuff that cannot possibly be done in a set![]()
7: print @ctr
8: select @ctr = @ctr + 1
9: end
See bolded and unlined text for new syntax.
1: --SQL Server 2008 - 148 characters + Intellisense
2: declare @ctr int = 1
3: while @ctr <= 100
4: begin
5: --Do your stuff that cannot possibly be done in a set![]()
6: print @ctr
7: select @ctr += 1
8: end
This content is published under the Attribution-Share Alike 3.0 Unported license.
