Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase «««12345

Common Table Expressions Expand / Collapse
Posted Wednesday, March 19, 2008 1:01 PM



Group: General Forum Members
Last Login: 2 days ago @ 4:52 PM
Points: 22,580, Visits: 35,879

Good example of how CTE's can help make some code easier to read and/or maintain.

Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #471845
Posted Wednesday, March 26, 2008 1:45 PM

SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, January 29, 2016 9:06 AM
Points: 997, Visits: 1,831
Thanks, Kirk for a well-written explanation of CTEs.

Great discussion, too. Thanks!
Post #475065
« Prev Topic | Next Topic »

Add to briefcase «««12345

Permissions Expand / Collapse