Refactoring Legacy T-SQL for Improved Performance

Modern Practices for SQL Server Applications



Bookstore > Books > Refactoring Legacy T-SQL for Improved Performance

Price$23.99 - $34.99
Rating
AuthorLisa Bohm
PublisherApress
Published2020
Pages236
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101484255801
ISBN-139781484255803
EBook Hardcover Paperback

Breathe new life into older applications by refactoring T-SQL queries and code using modern techniques. This book shows you how to significantly improve the performance of older applications by finding common anti-patterns in T-SQL code, then rewriting those anti-patterns using new functionality that is supported in current versions of SQL Server, including SQL Server 2019. The focus moves through the different types of database objects and the code used to create them, discussing the limitations and anti-patterns commonly found for each object type in your database.

Legacy code isn't just found in queries and external applications. It's also found in the definitions of underlying database objects such as views and tables. This book helps you quickly find problematic code throughout the database and points out where and how modern solutions can replace older code, thereby making your legacy applications run faster and extending their lifetimes. Author Lisa Bohm explains the logic behind each anti-pattern, helping you understand why each pattern is a problem and showing how it can be avoided. Good coding habits are discussed, including guidance on topics such as readability and maintainability.

- Find specific areas in code to target for performance gains
- Identify pain points quickly and understand why they are problematic
- Rewrite legacy T-SQL to reduce or eliminate hidden performance issues
- Write modern code with an awareness of readability and maintainability
- Recognize and correlate T-SQL anti-patterns with techniques for better solutions
- Make a positive impact on application user experience in your organization




Similar Books


Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes, 2nd Edition

Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes, 2nd Edition

by Ben Forta

Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes offers straightforward, practical answers when you need fast results. By working through the book's 30 lessons of 10 minutes or less, you'll learn what you need to know to take advantage of Microsoft SQL Server's T-SQL language.This handy pocket guide starts with ...

Price:  $17.59  |  Publisher:  SAMS Publishing  |  Release:  2017

Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions

Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions

by Itzik Ben-Gan

Optimize your queries - and obtain simple and elegant solutions to a variety of problems - using window functions in Transact-SQL. Led by T-SQL expert Itzik Ben-Gan, you'll learn how to apply calculations against sets of rows in a flexible, clear, and efficient manner. Ideal whether you're a database administrator or developer, ...

Price:  $26.72  |  Publisher:  Microsoft Press  |  Release:  2012

Exam Ref 70-761 Querying Data with Transact-SQL

Exam Ref 70-761 Querying Data with Transact-SQL

by Itzik Ben-Gan

Prepare for Microsoft Exam 70-761 - and help demonstrate your real-world mastery of SQL Server 2016 Transact-SQL data management, queries, and database programming. Designed for experienced IT professionals ready to advance their status, Exam Ref focuses on the critical-thinking and decision-making acumen needed for success at the MCSA le...

Price:  $34.25  |  Publisher:  Microsoft Press  |  Release:  2017

Beginning T-SQL, 3rd Edition

Beginning T-SQL, 3rd Edition

by Kathi Kellenberger, Scott Shaw

Beginning T-SQL is a performance-oriented introduction to the T-SQL language underlying the Microsoft SQL Server database engine. T-SQL is essential in writing SQL statements to get data into and out of a database. T-SQL is the foundation for business logic embedded in the database in the form of stored procedures and functions. Beginning...

Price:  $44.48  |  Publisher:  Apress  |  Release:  2014

Introducing SQLite for Mobile Developers

Introducing SQLite for Mobile Developers

by Jesse Feiler

This brief book is a basic introduction to SQLite for iOS and Android developers. The book includes a simple introduction to SQL, a discussion of when to use SQLite, and chapters devoted to using SQLite with the most likely programming languages: Java, PHP, Swift and Objective-C. It then goes through adding simple database functionality t...

Price:  $29.99  |  Publisher:  Apress  |  Release:  2015

Beginning T-SQL, 4th Edition

Beginning T-SQL, 4th Edition

by Kathi Kellenberger, Lee Everest

Get a performance-oriented introduction to the T-SQL language underlying the Microsoft SQL Server and Azure SQL database engines. This fourth edition is updated to include SQL Notebooks as well as up-to-date syntax and features for T-SQL on-premises and in the Azure cloud. Exercises and examples now include the WideWorldImporters database...

Price:  $44.99  |  Publisher:  Apress  |  Release:  2021

The Cucumber for Java Book

The Cucumber for Java Book

by Seb Rose, Matt Wynne, Aslak Hellesoy

Until now it's been difficult for teams developing Java applications to learn how to benefit from Behaviour-Driven Development (BDD). This book changes all that by describing in detail how to use Cucumber to harness the power of plain language specifications in your development process.In part 1, you'll discover how to use Cucum...

Price:  $6.00  |  Publisher:  The Pragmatic Programmers  |  Release:  2015

SQL Server 2017 Query Performance Tuning

SQL Server 2017 Query Performance Tuning

by Grant Fritchey

Identify and fix causes of poor performance. You will learn Query Store, adaptive execution plans, and automated tuning on the Microsoft Azure SQL Database platform. Anyone responsible for writing or creating T-SQL queries will find valuable the insight into bottlenecks, including how to recognize them and eliminate them.This book covers ...

Price:  $53.39  |  Publisher:  Apress  |  Release:  2018