Home > Articles > Databases > SQL Server

T-SQL Enhancements in SQL Server 2005

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close Window

Bob BeaucheminNiels BerglundDan Sullivan

Learn more…

Sorry, this author hasn't written any articles.

Sorry, this author doesn't have anything for sale.

Sorry, this author hasn't posted any blogs.

SQL Server 2005 includes a plethora of new features and tools that can help developers more efficiently and effectively manage data. This article provides a preview of the new features and their use.

Sql server 2005 includes new Transact-SQL (T-SQL) functionality. The enhancements span the range from an alternative mechanism for transaction isolation to declarative support for hierarchical queries. And statement-level recompilation even improves existing T-SQL applications that were written before 2005.

Improvements to Transact-SQL

Microsoft has continually improved the Transact SQL language and the infrastructure of SQL Server itself. In brief, the improvements include the following:

SNAPSHOT isolation—Additional isolation level that does not use write locks

  • Statement-level recompile—More efficient recompilation of stored procedures

  • Event notifications—Integration of Data Definition Language (DDL) and DML operations with Service Broker

  • Large data types—New data types that deprecate TEXT and IMAGE

  • DDL triggers—Triggers that fire on DDL operations

  • Common Table Expressions—Declarative syntax that makes a reusable expression part of a query

  • Hierarchical queries—Declarative syntax for tree-based queries

  • PIVOT—Declarative syntax aggregations across columns and converting columns to rows

  • APPLY—New JOIN syntax made for use with user-defined functions and XML

  • TOP—Row count based on an expression

  • Transaction abort—TRY/CATCH syntax for handling errors

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

There are currently no related podcasts. Please check back later.

Great password information at a small price
By John Traenkenschuh on June 13, 2009 No Comments

Where can cash-strapped security pro's get great information on security basics??

Steven HainesOracle Buys Sun of $7.4B
By Steven Haines on April 20, 2009 No Comments

In a stunning turn of events, Oracle steps in and buys Sun amist the breakdown of IBM's attempt to acquire Sun.

Buck WoodyIf it's Free it's for Me
By Buck Woody on January 26, 2009 No Comments

Sign me up for anything free these days. I just ran across a book that promises to help you build a web site for free...

See All Related Blogs

Informit Network