Transact-SQL Cookbook

Transact-SQL Cookbook

by Ales Spetic (Author), Jonathan Gennick (Author)

Synopsis

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, include a discussion with each recipe to explain the logic and concepts underlying the solution. SQL (Structured Query Language) is the closest thing to a standard query language that currently exists, and Transact-SQL -- a full-featured programming language that dramatically extends the power of SQL -- is the procedural language of choice for both Microsoft SQL Server and Sybase SQL Server systems. The Transact-SQL Cookbook is designed so you can use the 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. Topics covered include: *Audit logging. In addition to recipes for implementing an audit log, this chapter also includes recipes for: improving performance where large log tables are involved; supporting multiple-languages; and simulating server push. *Hierarchies. Recipes show you how to manipulate hierarchical data using Transact-SQL. *Importing data. This chapter introduces concepts like normalization and recipes useful for working with imported data tables. *Sets. Recipes demonstrate different operations, such as how to find common elements, summarize the data in a set, and find the element in a set that represents an extreme. *Statistics. This chapter?s recipes show you how to effectively use SQL for common statistical operations from means and standard deviations to weighted moving averages. *Temporal data. Recipes demonstrate how to construct queries against time-based data. *Data Structures. This chapter shows how to manipulate data structures like stacks, queues, matrices, and arrays. With an abundance of recipes to help you get your job done more efficiently, the Transact-SQL Cookbook is sure to become an essential part of your library.

$38.15

Save:$8.75 (19%)

Quantity

1 in stock

More Information

Format: Illustrated
Pages: 304
Edition: 1
Publisher: O'Reilly Media
Published: 19 Mar 2002

ISBN 10: 1565927567
ISBN 13: 9781565927568

Author Bio
Ales Spetic, an independent consultant specializing in the design and implementation of financial applications, has been programming in SQL for the past six years. He has a MBA in Business Administration from California State University, Hayward. Jonathan Gennick is an independent consultant and computer book author specializing in Oracle technologies. He has 15 years of software development and database management experience. Jonathan got his start with relational database systems in 1990, first working with Ingres, and later with Digital's Rdb software. In 1994 he made the leap to Oracle, and hasn't looked back yet. Much of his time is spent providing database administration services, as well as server-side PL/SQL support, to clients and internal project teams. When he is not working with Oracle, Jonathan can often be found writing about it. Recent projects include Oracle SQL*Plus Pocket Reference (O'Reilly & Associates, 2000); Oracle SQL*Plus: The Definitive Guide (O'Reilly & Associates, 1999); Oracle8i DBA's Bible (IDG Books, 2000); and Teach Yourself PL/SQL in 21 Days, Second Edition (SAMS Publishing, 1999). Writing has given Jonathan the opportunity to pursue several interests outside of his normal day-to-day work. He is a member of the technology committee for the Greater Lansing Adventist School, and he manages the web site for his local church. This satisfies his gnawing need to learn, and also his desire to help others. Jonathan is certified as an Oracle DBA and is a member of MENSA and the Oracle Technology Network. He holds a Bachelor of Arts degree in Information and Computer Science, with a Business Administration minor, from Andrews University in Berrien Springs, Michigan. Jonathan currently resides in Lansing, Michigan with his wife Donna and their two children: Jenny and Jeff. Jonathan may be contacted by email at jonathan@gennick.com.