Microsoft SQL Server 2000 Programming by Example
|
| List Price: | $59.99 |
| Price: | $40.85 & eligible for FREE Super Saver Shipping on orders over $25. Details |
Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com
44 new or used available from $1.00
Average customer review:Product Description
SQL Server 2000 Programming by Example provides clear and concise examples of basic programming techniques used in SQL Server 2000 primarily using Transact-SQL. Even if you're a complete novice to SQL Server 2000 programming, you will benefit by reading through the book's logical process. SQL Server 2000 is introduced and explored, database structure is designed and built, and finally a variety of programming techniques are studied and reviewed. If you are already familiar with SQL Server 2000 programming, you may use the book as a quick reference guide that provides plenty of pertinent examples.
Product Details
- Amazon Sales Rank: #495727 in Books
- Published on: 2001-04-27
- Original language: English
- Number of items: 1
- Binding: Paperback
- 792 pages
Editorial Reviews
Amazon.com Review
Ideal for the database programmer or system DBA, Microsoft SQL Server 2000 Programming by Example is an excellent example-based tutorial on mastering today's SQL features. Packed with plenty of tips and tricks, this title will let most anyone do more with SQL Server.
While there are plenty of screen shots showing graphical SQL Server tools, the focus of this book is clearly on learning real command-line Transact-SQL (T-SQL). The authors provide a patient and very thorough tour of T-SQL with full coverage of both basic and advanced features. You'll learn how to define new tables, manage users in groups, and perform all kinds of queries. Standout material includes an excellent guide to SQL data types and how to choose the right one for your needs. When it comes to queries, the book does a great job of exploring all your options for joining relational data, as well as grouping data for more advanced reporting. True to its title, Microsoft SQL Server 2000 Programming by Example is filled with dozens of examples of SQL commands (and the results returned) so that you can try out this material for yourself and really learn the language thoroughly.
Later on, the authors turn toward server-side programming with a digestible guide to creating stored procedures and triggers. The book closes with an in-depth guide to the issues regarding cursors (for working with table data), transactions, and locking. Sections on bulk copy tools and the Microsoft Data Transformation Services (DTS) show how to move data around the enterprise. A final section of distributed queries and linked servers will help you work with different sources of data wherever it resides in your organization.
Despite some stilted writing, the comprehensive examples in this book make it a success. It will let anyone start using basic T-SQL for the first time, as well as teach more advanced readers to master the finer points of Microsoft databases. --Richard Dragan
Topics covered:
- History and introduction to Microsoft SQL Server
- In-depth Transact-SQL (T-SQL) tutorial (including T-SQL data types and flow control statements)
- Creating and modifying tables and views
- Creating queries with the SELECT statement
- Inserting, deleting, and updating data
- Using joins (inner, outer, and cross joins)
- Indexes (database optimization and index maintenance)
- Data integrity (constraints and foreign keys)
- Business logic with stored procedures (including error handling and security)
- Tutorial and tips for triggers (including nested and recursive triggers)
- User-Defined Functions (UDFs)
- Complex queries and subqueries
- Row-oriented processing with cursors (including SQL Server cursor types)
- Transactions in T-SQL (including basic ACID properties, isolation levels, and locks)
- Avoiding deadlocks
- Transferring data to and from SQL Server with bulk copy and Data Transformation Services (DTS)
- Databases in heterogeneous environments (distributed queries and linked servers)
- Using the SQL Query Analyzer
From the Publisher
SQL Server 2000 Programming by Example provides clear and concise examples of basic programming techniques used in SQL Server 2000 primarily using Transact-SQL. Even if you're a complete novice to SQL Server 2000 programming, you will benefit by reading through the book's logical process. SQL Server 2000 is introduced and explored, database structure is designed and built, and finally a variety of programming techniques are studied and reviewed. If you are already familiar with SQL Server 2000 programming, you may use the book as a quick reference guide that provides plenty of pertinent examples.
Get up to speed on SQL Server 2000 and how to take full advantage of new features
From the Author
We decided to write this book to help developers to start learning how to program databases in SQL Server 2000.
It is a book for beginners, and for developers with some experience, searching for some good advice on how to use Transact-SQL language to program databases. It contains more than 400 listings to help you practice every single feature.
The book was born with SQL Server 2000, uses SQL Server 2000, and teaches SQL Server 2000. It is not a transition book, nor a new-features book, it is simply a SQL Server 2000 Programming book.
It covers only programming topics, but it includes a comprehensive section on security, because we believe it is crucial for database developers.
Perhaps you'd prefer to start reading the book from the end, where you can find an entire Appendix on how the new Query Analyzer 2000 works.
If you have already some experience in database development, you will benefit from a comprehensive chapter on Indexes, a chapter on user-defined functions (the longest chapter in the book), and a complete chapter on concurrency, with lots of examples.
You can visit the book website where you can read online an extra chapter on XML support in SQL Server 2000, only available in Internet, and you can download the examples source code for the entire book.
Customer Reviews
Practical Hands-on for Developers
I've been teaching college database classes for years, and although I prefer to teach MySQL, it's important for serious IT students to get some experience on a full-blown enterprise database server, and for that I use MS SQL Server.
This is the only usable text I've found for developers who need to learn the fundamentals for constraints, triggers, stored procedures, etc. Most SQL Server books are about administration, and barely touch upon programming topics. Many of those targeting developers rely upon some custom database dreamed up by the author that pales beside the standard samples of pubs and Northwind included with the SQL Server product. The worst books trot out database basics that might be best learned using MS Access.
The authors walk through every operation with standalone examples using either pubs or Northwind, with dozens of code listings for each chapter. You might need to complete a few consecutive listings, but there are no long-running dependencies where the authors want you to follow their development project from start to finish. You can dive in and out of this book at any point with no set up required.
The tone is straighforward with clear explanations, definitions, and tips. No chitchat or bull gets in the way. There are some illustrative figures, but no page after page of useless screenshots. Like the Que series claims, you learn By Example--cranking out the listings yourself to see things work.
A relly nice book for students or professionals from beginning to intermediate levels. Oh yeah...the price is right.
Disappointed
You know one of those reference books you buy but no matter how often you look at it it never has the answer to your questions? Yes? Well this book is one of those.
As a professional software developer I never had much use for Que books - thick paper, too much white space, and big fonts. This book is no exception. I made the mistake of buying it on the strength of the reviews at Amazon but it lives up to the Que tradition of being a book full of basic information, most of which is available in the SQL server docs. Sure it has lots of examples but little that is very enlightening.
I didn't get the impression here that this was a basic book but it is. It is going to be a disappointment to you if you, like me, already know SQL/DBMS programming but from another database product. If I was starting out then maybe I'd find it of use, but a one-stop answer to all you SQL Server problems it most definitely is not. If I ever find it useful I will come straight back here and change this review.
Excelent, the best you can buy !!!
I have been working more than four years with SQL Server, since version 6.5. In my work I have to cover all the funcionality in SQL Server as I am developer, administrator and so on. I have few SQL books as I find is quite simple to find almost anything in the BOLs.
But this book is the best I have ever seen to get into SQL Server and improve your skills, from the point of view of a developer there is not better book. It is also a incredible source of information for experts, it really explores all the new features you can find in SQL Server 2000.
I also know the two authors's work as they help many people in the SQL forums and I can say they are really good.
Enjoy it!!!




