Transact-SQL Desk Reference: For Microsoft SQL Server

Transact-SQL Desk Reference: For Microsoft SQL Server

Transact-SQL Desk Reference: For Microsoft SQL Server

Editorial Reviews
Book Description
Preface For years I've wanted a single reference book that contained the MicrosoftSQL Server SQL syntax for most of my common questions when writing SQLprograms. I've needed one book that had not only the specific syntax forMicrosoft SQL Server SQL, called Transact-SQL, with examples but also hadsome hints about the ANSI Standard SQL syntax. So when Mark Taub of PrenticeHall suggested that I write such a book, I was very receptive to the idea.This book has a lot in common with Microsoft SQL Server on-line documentationcalled "Books Online," but it has both more than and less than what's inBOL. Wording is changed in places in a hope to add clarity. It was omitted when afeature is very infrequently used. Also, many different examples are addedThis book is intended as a handy reference for SQL programmers needing toknow how to construct correct SQL statements that will run on Microsoft SQLServer 2000 in a way to maximize portability. Syntax and examples are givenusing Microsoft SQL Server 2000 SQL with comments when the syntax variesfrom ANSI SQL. This book concentrates on Microsoft SQL Server 2000 implementation ofSQL features from the ANSI SQL-92 standard covering Data Definition Languageand Data Manipulation Language. These features are commonly referred to as4GL (fourth-generation language) constructs. The Microsoft SQL Server 2000implementation of SQL is called Transact-SQL (T-SQL). It encompasses boththese 4GL features plus 3GL programming features, which include IF-ELSE andlooping and other constructs. Except for Chapter 1, which is provided in tutorial form as a quick RDBMSreview, and Appendix B, which covers some Advanced Queries, this material iswritten as a reference, assuming previous exposure to SQL concepts. The book isintended to answer the question of "How exactly do I write a statement to do acertain job?" as well as "What is the full syntax with examples?"It is also essential that the reader refer to the documentation on Web sites and the knowledge base there. Clearly this book contains much information derived from Microsoft SQLServer Books Online, an excellent resource and one which should be used frequently.This book contains less of some detail than the 1000-plus page BooksOnline but has more explanation of what I consider to be core features and moreexamples of useful applications of these features. Together this book and BooksOnline make a powerful combination. Additionally, this book gives information about standard ANSI SQL and willcomment on which MSS SQL statements do not abide by the standard so that yourSQL code may maximize portability to other relational database management systems(RDBMSs). Sometimes SQL Server has two correct ways of doing a job, one that abidesby the standard and is more portable and one that does not. For example, SQLServer has to declare column aliases and two forms of doing an inner join. In bothcases the ANSI standard form is just as efficient but more portable.There are occasions, however, where no ANSI standard approach exists inSQL Server, so it's useful to know that such code must be modified to transport itto another RDBMS. An example is the DATETIME data type in SQL Server thatmust be changed to DATE for use with other systems (except with Sybase, fromwhich SQL Server was derived). This is not intended to be an exhaustive treatise on all the nooks and cranniesof either ANSI SQL or of Microsoft SQL Server 2000 Transact-SQL. It isintended to be a handy reference that covers the syntax of the SQL statementsmost of the time for most SQL users. Happy databasing! How to Use this Book This book was written as a reference for experienced SQL programmerswho will usually go directly to the Table of Contents or the Index and then to thesection of interest. Except for the Chapter 1 tutorial review, topics are organized inchapters by purpose and function, for example, DDL, DML, SELECT, and soforth. All examples were tested on Microsoft SQL Server 2000. Chapter 1 is a tutorial summary of relational database management systembackground, terminology and concepts to serve as a refresher. The reader who isout of practice on these subjects may find it useful to read or skim this chapterbefore proceeding. Otherwise Chapter 1 may be skipped. The remaining chapters contain the reference material intended for directlookup of the subject sought. Chapter 1--RDBMS Concepts: A Primer Chapter 2--SQL Building Blocks and Server Settings Chapter 3--Data Definition Language and Security Chapter 4--Data Manipulation Language: INSERT, UPDATE, DELETE, SELECT Chapter 5--Transaction Control, Backup and Restore and Transact-SQL Programming Appendix A--Transact-SQL Keywords and System Stored Procedures Appendix B-- SELECT: Advanced Queries

From the Back Cover

This is the SQL reference you'll reach for first, every time!

If you're an SQL programmer, you can easily picture how useful a comprehensive, single-volume Transact-SQL command reference manual would be in streamlining your work. And if that book was rich in examples, was written with users of all levels of expertise in mind, and was even designed to fit comfortably on your desktop, you'd probably buy it right away, wouldn't you? Well, look no further—Transact-SQL Desk Reference, by noted programming instructor Deac Lancaster, is exactly the book you need.

As it turns out, Transact-SQL Desk Reference is just the book Deac himself was looking for. The problem was, no such book existed, so he saved programmers everywhere a lot of trouble and he wrote it himself! The book answers the question, "How exactly do I write a statement to do a particular job?" by providing the full syntax of each command along with examples showing each command in action. Then, to assist you in making your code more portable, Transact-SQL Desk Reference shows where Transact-SQL diverges from the ANSI SQL standard. The commands are arranged by functional area and are well indexed and cross-referenced, making it as easy as possible to find what you're looking for-even if you don't know the command's name. Inside, you'll find:

This book is intended for programmers of all levels working with Microsoft SQL Server.



Transact-SQL Desk Reference: For Microsoft SQL Server

Transact-SQL Desk Reference: For Microsoft SQL Server,Deac Lancaster,Prentice Hall PTR,0130293393,Computer Bks - Data Base Management,Computer Books: General,Computers,Database Management - General,Database management,Programming - General,Programming Languages - General,Programming Languages - SQL,Relational Databases,SQL server,Sql (Programming Language),Computers / Programming Languages / SQL

Mathematics Book

Transact-SQL Desk Reference: For Microsoft SQL Server

Books:

  1. Unique Handmade Books
  2. Winning With The Najdorf
  3. Yu-Gi-Oh! Official Card Catalog : Prima Official Card Catalog
  4. 25 Gunfighter Patterns for Carvers: With Step-By-Step Carving Instructions (A Schiffer Book for Woodcarvers)
  5. 50 More Ways To Use Your Noodle: Loads of land and water games with foam noodle toys
  6. Adobe Audition 1.5 Classroom in a Book (Classroom in a Book)
  7. Alternity: Science Fiction Adventure Game : The Adventure Begins Now
  8. Aquarium Fish Playing Cards (The Natural World Playing Card Collection)
  9. ARM Architecture Reference Manual (2nd Edition)
  10. Batman: Vengeance Official Strategy Guide for PlayStation 2

Books

books

Books

  1. Decorating Porcelain: The American Technique
  2. Bart Simpson's Treehouse of Horror Spine-Tingling Spooktacular (Bart Simpson's Treehouse of Horror)
  3. CIMA Revision Cards: Business Strategy, First Edition (CIMA Revision Cards)
  4. Traffic and Mobility : Simulation - Economics - Environment
  5. Advancing Women in Business-The Catalyst Guide: Best Practices from the Corporate Leaders (Jossey Bass Business and Management Series)
  6. Agricultural Policy (The International Library of Comparative Public Policy, 14)
  7. Advances in Inorganic Chemistry, Volume 56 : Redox-active Metal Complexes (Advances in Inorganic Chemistry)
  8. Chaos and Harmony: Perspectives on Scientific Revolutions of the 20th Century
  9. Alberich And Friends
  10. An Introduction to Craniosacral Therapy: Anatomy, Function, and Treatment
  11. Art Deco Decorative Ironwork
  12. Bedrooms : Creating the Stylish, Comfortable Room of Your Dreams
  13. Battlefield Detectives
  14. Audubon Life-List Journal
  15. Fodor's India, 5th Edition (Fodor's Gold Guides)
  16. German Books: Deutsche Bücher ~ 81
  17. Der Burgberg Meissen. Archäologie und frühe Geschichte
  18. 40 Jahre Weinbauschule und Wirtschaftsberatungsstelle Eltville
  19. Software Engineering: (Update) (8th Edition) (International Computer Science)