Product Description
This unique cookbook contains a wealth of solutions to problems that SQL programmers face all the time. The recipes inside range from how to perform simple tasks, like importing external data, to ways of handling issues that are more complicated, like set algebra. Authors Ales Spetic and Jonathan Gennick, two authorities with extensive database and SQL programming experience, follow each recipe with a discussion explaining the logic and concepts underlying the solution. Topics in the cookbook include Audit logging, Hierarchies, Importing data, Sets, Statistics, Temporal data, and Data Structures. Whether you plan to use the cookbook's recipes directly, as a source of ideas, or as a way to learn a little more about SQL and what you can do with it, the
Transact-SQL Cookbook will become an essential part of your library.
From the Author
If you have recently learned SQL, then you know what the basic statements are all about. What you need to learn next is how to "think SQL" in order to creatively apply it to the programming problems you encounter in your daily work. This is a hard thing to "teach"; the creative application of SQL is really something you need to learn by example. That's the whole point of this book, to provide examples of SQL being used creatively, and in ways that aren't immediately obvious, to solve everyday problems. You'll be able to apply our patterns to your own work, and you'll no doubt be inspired to discover even more creative solutions of your own. This book isn't just for those who are new to SQL. Even if you're an experienced SQL programmer, you probably haven't seen it all, and we think you'll discover at least one new technique in this book.
See all Editorial Reviews