February 2013
Beginner
432 pages
10h 19m
English
After completing this chapter, you will be able to
Perform aggregating, grouping, and windowing.
Use SQL Server temporary objects.
Handle T-SQL errors inside of queries.
Add control logic around and inside T-SQL statements.
So far, the T-SQL statements and logic you have constructed have been very basic and straightforward. In this chapter, you will learn about additional constructs to enhance the functionality of T-SQL code. First, you will examine how to perform aggregations, windowing, and grouping with T-SQL. Next, you will learn how to use temporary objects in Microsoft SQL Server. Finally, you will see examples of how to handle errors and control the flow of T-SQL queries.
Read now
Unlock full access