THE SQL Server Blog Spot on the Web

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

Browse by Tags

All Tags » t-sql » sql 2005 » SQL 2008   (RSS)
  • Dynamic SQL and Late Binding

    We all know that dynamic SQL runs in its own scope (see here for details), and that if used improperly it can have serious security implications.  But it's also important to realize that dynamic SQL evaluates your SQL statements more like a stored procedure than a regular script.  In stored procedures, if the tables you reference ...
    Posted to Michael Coles: Sergeant SQL (Weblog) by Mike C on June 23, 2010
  • Calculating Holidays in SQL

    Ask about nearly any kind of SQL-based date calculation in the newsgroups, and you'll likely get responses that include use of an auxiliary calendar table.  It's a really good idea, and something I highly recommend to anyone who has to do date-based calculations on the server.  For those who do dimensional modeling, you'll probably ...
    Posted to Michael Coles: Sergeant SQL (Weblog) by Mike C on February 25, 2010
  • Please Vote: Windowing Enhancements in SQL Server

    Back in January 2007, SQL guru Itzik Ben-Gan posted a series of MS Connect enhancement requests concerning windowing function enhancements.  Those who have used the ROW_NUMBER(), RANK(), DENSE_RANK(), and NTILE() functions on SQL 2005 and 2008, you already know how useful they are.  They simplify code and can improve performance ...
    Posted to Michael Coles: Sergeant SQL (Weblog) by Mike C on November 19, 2009
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement