Summary

We covered a lot of ground in this chapter. As Microsoft continues to invest in T-SQL, developers are rewarded with many powerful enhancements to the T-SQL engine. You’ve learned how to use table-valued parameters (TVPs) to pass sets of rows across client, server, stored procedures, and user-defined functions (UDFs). The date and time data types were also covered, as well as the capabilities of MERGE, INSERT OVER DML, and GROUPING SETS. You also learned how to use the latest features in SQL Server 2012, including a host of new T-SQL functions, the windowing (OVER clause) enhancements, the THROW statement, server-side paging, SEQUENCE objects, and metadata discovery improvements.

T-SQL is still the main way you will program against your ...

Get Programming Microsoft® SQL Server® 2012 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.