posts - 114, comments - 204, trackbacks - 82

My Links

News

View Anthony Trudeau's profile on LinkedIn

Add to Technorati Favorites

Article Categories

Archives

Post Categories

Image Galleries

Other Links

Notes on using a CTE in SQL Server 2005

One of the uses mentioned for common table expressions (CTE) in SQL Server 2005 is recursive queries.  A CTE allows you to define a virtual view that can be used in another statement.  At first glance I thought this was awesome.  In fact I had just recently implemented a user-defined function to calculate the “pieces per” based on a global trade item number (GTIN), because recursion is necessary to calculate the value.

The following article has more information: http://geekswithblogs.net/tonyt/articles/70279.aspx

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Thursday, December 29, 2005 3:12 PM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: