May 26, 2004 10:26 PM

Cycling with CTEs

Common table expressions can help you manipulate hierarchies with ease
Rating: (0)
SQL Server Magazine
InstantDoc ID #42452
Common table expressions (CTEs), a new T-SQL feature in SQL Server 2005 (formerly code-named Yukon), give you expressive powers for writing T-SQL queries to manipulate hierarchies easily and efficiently. Some major advantages of CTEs are that they're ANSI SQL-99 compliant, they let you write shorter code than ever to manipulate hierarchies, and their internal implementation uses set-based queries rather than cursors and temporary tables. Last month, in "Get in the Loop with CTEs" (InstantDoc ID ...

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

Another great article from Itzik - on June CTP I needed to cast(BOM.PerAssemblyQty as int) to get listing2 to work. [CTEs will ensure we upgrade to 2005 soon.]

Anonymous User 9/1/2005 11:03:33 PM


You must log on before posting a comment.

Are you a new visitor? Register Here
GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS