Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Common Table Expressions Joes 2 Pros®

Posted By: AlenMiler
Common Table Expressions Joes 2 Pros®

Common Table Expressions Joes 2 Pros®: A CTE Tutorial on Performance, Stored Procedures, Recursion, Nesting and the use of Multiple CTEs by Steve Stedman
English | May 15, 2013 | ISBN: 193966618X | 283 pages | AZW3 | 5.92 MB

The Common Table Expression (CTE) is one of the more powerful and often overlooked features in Microsoft SQL Server. This Joes 2 Pros book will show some of the more interesting things you can do with a CTE. We will learn how CTEs are a great alternative to derived table queries, how to do data paging with a CTE, and recursive queries with tree path and hierarchical output. This book will also cover how to use the DELETE, UPDATE, and INSERT statements with a CTE, and how to use CTEs in stored procedures and functions. We will discover what is good and bad with CTEs when it comes to performance, and how to avoid performance pitfalls. The twelve chapters take us from the most basic introduction of a CTE all the way to the more complex usage scenarios where a CTE can change the way you look at writing T-SQL queries. Learn how to use a single CTE or multiple CTEs in a single statement as well as nesting them.