Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««12345

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


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 6:11 AM
Points: 20,857, Visits: 32,873
GSquared,

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: Tuesday, December 9, 2014 10:47 AM
Points: 937, Visits: 1,736
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