Pro T–SQL 2012 Programmer’s Guide is every developer’s key to making full use of SQL Server 2012’s powerful, built–in Transact–SQL language. Discussing new and existing features, the book takes you on an expert guided tour of Transact–SQL functionality. Fully functioning examples and downloadable source code bring technically accurate and engaging treatment of Transact–SQL into your own hands. Step–by–step explanations ensure clarity, and an advocacy of best–practices will steer you down the road to success.
Transact–SQL is the language developers and DBAs use to interact with SQL Server. It’s used for everything from querying data, to writing stored procedures, to managing the database. New features in T-SQL 2012 include full support for window functions, stored sequences, the ability to throw errors, data paging, and more. All these important new features are covered in this book. Developers and DBAs alike can benefit from the expressive power of Transact-SQL, and Pro T-SQL 2012 Programmer's Guide provides the gateway to success in applying this increasingly important database language to everyday business and technical tasks.
What you’ll learn
- Take full advantage of window functions and other new features in T-SQL 2012
- Move business logic into the database via procedures and functions
- Develop using advanced features such as encryption and full-text search
- Store and retrieve XML data using XQuery and XPath
- Debug and Optimize T-SQL Execution
- Build ADO.NET Client Applications
Who this book is for
Pro T–SQL 2012 Programmer’s Guide is written for SQL Server and Transact–SQL developers who want to implement best–practices and take full advantage of all that SQL Server has to offer. NET programmers will find the book helpful in showing how to run .NET code within SQL Server. Database administrators who need to write triggers and the occasional stored procedure will also benefit from the book.
Table of Contents
- Foundations of T-SQL
- Tools of the Trade
- Procedural Code and CASE Expressions
- User Defined Functions
- Stored Procedures
- Triggers
- Encryption
- Common Table Expressions
- Advanced Features
- Integrated Full-Text Search
- XML
- XQuery and XPath
- Catalog Views and Dynamic Management Views
- SQL CLR Programming
- .NET Client Programming
- Data Services
- Error Handling and Dynamic SQL
- Performance Monitoring and Tuning
- Appendix A
- Appendix B
- Appendix C
- Appendix D