没有合适的资源?快使用搜索试试~ 我知道了~
首页Beginning T-SQL with Microsoft SQL Server 2008
Beginning T-SQL with Microsoft SQL Server 2008
需积分: 10 37 浏览量
更新于2023-05-27
评论 1
收藏 12.56MB PDF 举报
Beginning T-SQL with Microsoft SQL Server 2008 [Paul Turley & Dan Wood] 系统学习T-SQL的好资料。
资源详情
资源评论
资源推荐

Beginning
T-SQL
with Microsoft
®
SQL Server
®
2005 and 2008
www.wrox.com
$39.99 USA
$43.99 CAN
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing
a structured, tutorial format that will guide you through all the techniques involved.
Recommended
Computer Book
Categories
Database Management
General
ISBN: 978-0-470-25703-6
Nearly all business applications read, store, and manipulate data stored in
relational databases. If you use Microsoft SQL Server in any way, you need to
learn and use T-SQL, Microsoft’s powerful implementation of the ANSI-standard
SQL database query language.
This book teaches all of the basics of T-SQL as it’s used with SQL Server 2005
and 2008 databases. The authors, leading T-SQL experts, begin with the
essentials of SQL Server that are needed to get the most from T-SQL. They then
quickly move on to introduce T-SQL itself, including the core elements of data
retrieval, SQL functions, aggregation and grouping, and multi-table queries, and
they fully explain transaction processing and data manipulation using T-SQL.
The authors also show you how to create and manage T-SQL programming
objects, including views, functions, and stored procedures. They detail how to
optimize T-SQL query performance and design queries for real-world business
applications. All of the methods and techniques in this book can be used with
both Microsoft SQL Server 2005 and 2008 databases.
In addition, the book includes a comprehensive set of reference appendices,
including T-SQL command syntax, system variables and functions, system stored
procedures, information schema views, and FileStream objects.
What you will learn from this book
● How to add, modify, and remove records
● How to query multiple tables
● Ways to use views to modify data
● How to create tools for managing databases using T-SQL
● T-SQL programming techniques using views, user-defined functions, and stored
Enhance Your Knowledge
Advance Your Career
procedures
● Methods for optimizing query performance
● How to use SQL Server Reporting Services to visualize T-SQL query results
Who this book is for
This book is for beginning SQL Server developers and administrators who need to learn how to use T-SQL. Basic familiarity with
relational databases and a general understanding of basic SQL functions is necessary.
T-SQL
with Microsoft
®
SQL Server
®
2005 and 2008
Turley, Wood
Beginning
spine=1.344"
Updates, source code, and Wrox technical support at www.wrox.com
Beginning
T-SQL
with Microsoft
®
SQL Server
®
2005 and 2008
Paul Turley, Dan Wood
Wrox Programmer to Programmer
TM
Wrox Programmer to Programmer
TM

Beginning
T-SQL with Microsoft® SQL Server® 2005 and 2008
Introduction ................................................................................................ xix
Chapter 1: Introducing T-SQL and Data Management Systems ..........................1
Chapter 2: SQL Server Fundamentals ............................................................23
Chapter 3: SQL Server Tools .........................................................................49
Chapter 4: Introducing the T-SQL Language .................................................101
Chapter 5: Data Retrieval ...........................................................................129
Chapter 6: SQL Functions ...........................................................................165
Chapter 7: Aggregation and Grouping ..........................................................219
Chapter 8: Multi-Table Queries ....................................................................245
Chapter 9: Advanced Queries and Scripting .................................................273
Chapter 10: Transactions ............................................................................297
Chapter 11: Advanced Capabilities ..............................................................329
Chapter 12: T-SQL Programming Objects .....................................................355
Chapter 13: Creating and Managing Database Objects ................................409
Chapter 14: Analyzing and Optimizing Query Performance ............................443
Chapter 15: T-SQL in Applications and Reporting .........................................477
Appendix A: Command Syntax Reference ................................................... 527
Appendix B: System Variables and Functions Reference .............................. 549
Appendix C: System Stored Procedure Reference ....................................... 573
Appendix D: Information Schema Views Reference ...................................... 595
Appendix E: FileStream Objects and Syntax ................................................ 609
Appendix F: Answers to Exercises .............................................................. 613
Index ........................................................................................................ 625
ffirs.indd iffirs.indd i 10/31/08 6:32:52 PM10/31/08 6:32:52 PM

Beginning
T-SQL with Microsoft® SQL Server®
2005 and 2008
Paul Turley and Dan Wood
Wiley Publishing, Inc.
ffirs.indd iiiffirs.indd iii 10/31/08 6:32:53 PM10/31/08 6:32:53 PM

Beginning T-SQL with Microsoft® SQL Server® 2005 and 2008
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright © 2009 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-25703-6
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
Library of Congress Cataloging-in-Publication Data is available from the publisher.
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or
by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted
under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written
permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the
Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600.
Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley &
Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at
http://www.wiley.com/go/permissions.
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or
warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim
all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may
be created or extended by sales or promotional materials. The advice and strategies contained herein may
not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged
in rendering legal, accounting, or other professional services. If professional assistance is required, the services
of a competent professional person should be sought. Neither the publisher nor the author shall be liable for
damages arising herefrom. The fact that an organization or Website is referred to in this work as a citation
and/or a potential source of further information does not mean that the author or the publisher endorses the
information the organization or Website may provide or recommendations it may make. Further, readers
should be aware that Internet Websites listed in this work may have changed or disappeared between when
this work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department
within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related
trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the
United States and other countries, and may not be used without written permission. Microsoft and SQL
Server are registered trademarks of Microsoft Corporation in the United States and/or other countries. All
other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with
any product or vendor mentioned in this book.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be
available in electronic books.
ffirs.indd ivffirs.indd iv 10/31/08 6:32:53 PM10/31/08 6:32:53 PM

My wife, Sherri, is the reason I do anything meaningful in my life.
The rest of it I pretty much come up with on my own.
Thank you for your love, support and the occasional
knock upside the head.
—Paul Turley
For my wonderful wife, Sarah: Without your constant
love and support, I could accomplish nothing.
You are truly my best friend.
—Dan Wood
ffirs.indd vffirs.indd v 10/31/08 6:32:53 PM10/31/08 6:32:53 PM
剩余668页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论0