Transact-SQL Cookbook and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
30 used & new from $27.13

Have one to sell? Sell yours here
 
   
Transact-SQL Cookbook
 
 
Start reading Transact-SQL Cookbook on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Transact-SQL Cookbook (Paperback)

~ Alex Spetic (Author), (Author)
Key Phrases: missing term papers, financial median, nonaggregated columns, Alex Jan, Alex Feb, Temporal Data (more...)
3.4 out of 5 stars  See all reviews (14 customer reviews)

List Price: $34.95
Price: $30.14 & this item ships for FREE with Super Saver Shipping. Details
You Save: $4.81 (14%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Wednesday, November 11? Choose One-Day Shipping at checkout. Details
20 new from $27.14 10 used from $27.13

Formats

Amazon Price New from Used from
  Kindle Edition $15.39 -- --
  Paperback $30.14 $27.14 $27.13
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Frequently Bought Together

Transact-SQL Cookbook + SQL Cookbook (Cookbooks (O'Reilly)) + SQL Pocket Guide (Pocket Reference (O'Reilly))
Price For All Three: $66.70

Show availability and shipping details

  • This item: Transact-SQL Cookbook by Alex Spetic

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • SQL Cookbook (Cookbooks (O'Reilly)) by Anthony Molinaro

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • SQL Pocket Guide (Pocket Reference (O'Reilly)) by Jonathan Gennick

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

The Guru's Guide to Transact-SQL

The Guru's Guide to Transact-SQL

by Ken Henderson
4.7 out of 5 stars (238)  $44.16
Programming SQL Server 2005

Programming SQL Server 2005

by Bill Hamilton
4.1 out of 5 stars (13)  $34.64
Transact-SQL Programming

Transact-SQL Programming

by Lee Gould
SQL Pocket Guide (Pocket Reference (O'Reilly))

SQL Pocket Guide (Pocket Reference (O'Reilly))

by Jonathan Gennick
4.6 out of 5 stars (21)  $10.19
Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes

Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes

by Ben Forta
4.3 out of 5 stars (6)  $13.59
Explore similar items

Editorial Reviews

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.

Product Details

  • Paperback: 302 pages
  • Publisher: O'Reilly Media (March 19, 2002)
  • Language: English
  • ISBN-10: 1565927567
  • ISBN-13: 978-1565927568
  • Product Dimensions: 9.3 x 7.1 x 0.7 inches
  • Shipping Weight: 1.1 pounds (View shipping rates and policies)
  • Average Customer Review: 3.4 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon.com Sales Rank: #143,080 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #54 in  Books > Computers & Internet > Microsoft > Development > SQL Server

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

 

Customer Reviews

14 Reviews
5 star:
 (7)
4 star:
 (1)
3 star:
 (1)
2 star:    (0)
1 star:
 (5)
 
 
 
 
 
Average Customer Review
3.4 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
18 of 18 people found the following review helpful:
3.0 out of 5 stars Good (but basic), practical text, April 5, 2002
By Nicholas Bennett (Albuquerque, NM United States) - See all my reviews
Rather than a real-world "cookbook", ostensibly targeted to database professionals who want to avoid reinventing the wheel, this book would be better positioned as a companion to an introductory text on SQL (e.g. for a class on SQL, where the class laboratory work employs SQL Server).

One or two of the chapters do cover problems which baffle a lot of experienced SQL programmers with whom I have worked; a good example is the chapter on the implementation of hierarchical data models.

There is some minimal attention paid to performance implications of alternative query formulations, but very little useful information on practical database and query tuning.

The practical examples are generally good for building the necessary context for the various implementations, but there are some clear gaps in the authors' understanding of the underlying business problems and the conceptual solution techniques. Also, there are some flat-out errors: for example, the explanation (and the implementation) of exponential averaging (more commonly referred to as smoothing) is simply incorrect.

All in all, I would recommend this to someone who is just learning SQL, and is having trouble "getting their head" around how it would be used in practice. For someone already working in the field, an online subscription to SQL Server magazine (giving access to all of the source code for the articles) would be a better investment.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 12 people found the following review helpful:
5.0 out of 5 stars A true book for programmers, April 10, 2002
By "hans_waldde" (Berlin, Germany) - See all my reviews
This book is everything I was looking for. I bought it on my recent trip to United States. I had a chance to read it on the long flight back to Europe.

I needed a clear and concise book to help me with my MS SQL programming problems. I think I found it. It clearly explains logic behind the code and examples. Other books often mix together a lot of other topics, but not this one. The text is only about coding. No administration or fine-tuning. I think it's a very good book for programmers.

If your interests include administration and other topics for DBA's, this book will be of no help for you. But that's the strength of the book. Just a few hundred pages, but no page is wasted on issues not directly related to coding.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5 of 5 people found the following review helpful:
5.0 out of 5 stars Best Buy!, May 28, 2002
By A Customer
No DBA nonsense, just plain programming. Great stuff, clear explanations, excellent code!!! It's an incredible book that can really help programmers get up to speed quickly.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars A Treasure
Read the negative reveiws and bought the book anyway. Still can't figure out what it was that other reviewers found objectionable... Read more
Published on February 12, 2006 by C. Hudson

5.0 out of 5 stars A desktop must SQL SERVER 2000 and Transact SQL
I cannot say enough great things about this book! I'm a SQL Server developer and have used many forms of the logic presented from this book in many of my daily routines. Read more
Published on November 4, 2005 by M. Beirn

1.0 out of 5 stars A bad book
Bought this without reading the reviews. Big mistake. Full of terribly simple examples and bad English. Not worth the time at all. Read more
Published on July 21, 2002 by John Gibbs

1.0 out of 5 stars Terrible, just terrible
This book isn't worth the paper its printed on. The code is all stuff from magazines and other books. I see a lot of code from Henderson's book here. Read more
Published on July 11, 2002 by Tom Dunn

5.0 out of 5 stars A very practical guide to T-SQL programming!
This is a very concise and to-the-point book. It assumes that the user has a basic understanding of T-SQL. Read more
Published on June 29, 2002 by NV Kondreddi

4.0 out of 5 stars Good Reference
Information on performing statistics calculations using TSQL is very rare. Using this book, I was able to write a couple of User-Defined Functions that provide both Confidence... Read more
Published on June 17, 2002

1.0 out of 5 stars Terrible waste of money
Almost everything in this book can be found in the books on-line. This is like a printed version of them. If you need a printed version of the bol, get this book.
Published on May 12, 2002 by Bob Lee

5.0 out of 5 stars a real life saver
I've read this book and I'm recommending it to all my friends. This book contains concise explanations of many important topics. Read more
Published on May 1, 2002 by Morgan Lee

1.0 out of 5 stars More beginner's book than cookbook
When they called this a cookbook, I was expecting lots of advanced sample code, especially given that the book comes from O'Reilly. I could not be more disappointed. Read more
Published on April 13, 2002 by Barb Tabor

5.0 out of 5 stars This book is great!
The chapters in the book are laid out properly. I recommend this book to anyone who wants to further expand their knowledge. There are some errors in the book. Read more
Published on April 10, 2002 by Austin McMillan

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.