skip to content
Beginning T-SQL with Microsoft SQL Server 2005 and 2008 Preview this item
ClosePreview this item

Beginning T-SQL with Microsoft SQL Server 2005 and 2008

Author: Paul Turley
Publisher: Indianapolis, Ind. : Wiley Publishing, ©2009.
Series: Programmer to programmer.
Edition/Format:   Print book : EnglishView all editions and formats

If you have never programmed with T-SQL but have some background programming knowledge and experience, this book presents you with an overview of SQL Server query operations and tools used with  Read more...


(not yet rated) 0 with reviews - Be the first.

More like this


Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...


Document Type: Book
All Authors / Contributors: Paul Turley
ISBN: 9780470257036 0470257032
OCLC Number: 216937245
Notes: Includes index.
Description: xxiv, 647 pages : illustrations ; 24 cm.
Contents: Introduction. Chapter 1: Introducing T-SQL and Data Management Systems. T-SQL Language. Programming Language or Query Language? What's New in SQL Server 2008. Database Management Systems. SQL Server as a Relational Database Management System. Tables. Relationships. RDBMS and Data Integrity. SQL Server and Other Products. Microsoft SQL Server. Oracle. IBM DB2. Informix. Sybase SQLAnywhere. Microsoft Access (Jet). MySQL. Summary. Chapter 2: SQL Server Fundamentals. Who Uses SQL Server? SQL Server Editions and Features. SQL Server Compact Edition. SQL Server Express Edition. SQL Server Workgroup Edition. SQL Server Standard Edition. SQL Server Enterprise Edition. Relational Database Engine. Semantics. Changing Terminology. Relationships. Primary Keys. Foreign Keys. Normalization Rules. First Normal Form. Second Normal Form. Third Normal Form. Boyce-Codd Normal Form, Fourth and Fifth Normal Form. Other Normal Forms. Transforming Information into Data. Applying Normalization Rules. Thinking Ahead. Multiple Associations. Multi-Valued Columns. To Normalize or To De-normalize? Question Authority. The Mechanics of Query Processing. The AdventureWorks Databases. Summary. Chapter 3: SQL Server Tools. Common SQL Server Tasks. SQL Server Management Studio. Tool Windows. Toolbars. SQL Server Management Studio Configuration. SQL Server Business Intelligence Development Studio. SQL Server Profiler. Database Tuning Advisor. SQL Server Configuration Manager. Command-Line Tools. SQLCMD. Writing Queries. Scripting Options. Using the Graphical Query Designer. Using Templates. Using the Debug Feature. Summary. Exercises. Exercise. Exercise 2. Exercise 3. Exercise 4. Chapter 4: Introducing the T-SQL Language. The Nature of SQL. Where to Begin? Data Manipulation Language. Queries Have Layers. Set-Based Operations. Row-Based Operations. Query Syntax Basics. Naming Conventions. Object Delimiting. Commenting Script. Using Templates. Generating Script. Managing Script. Version Control. Data Definition Language. Creating a Table. Creating a View. Creating a Stored Procedure. Creating a Trigger. Creating a User-Defined Function. Scripting Practices. Data Control Language. Summary. Exercises. Exercise 1. Exercise 2. Chapter 5: Data Retrieval. Storage and Retrieval. The SELECT Statement. Choosing Columns. Column Aliasing. Calculated and Derived Columns. Filtering Rows. The WHERE Clause. Using Parentheses. Sorting Results. Top Values. Summary. Exercises. Exercise 1. Exercise 2. Exercise 3. Exercise 4. Chapter 6: SQL Functions. The Anatomy of a Function. I'd Like to Have an Argument. Deterministic Functions. Using User Variables with Functions. Using Functions in Queries. Nested Functions. Aggregate Functions. The AVG() Function. The COUNT() Function. The MIN() and MAX() Functions. The SUM() Function. Configuration Variables. The @@ERROR Variable. The @@SERVICENAME Variable. The @@TOTAL-ERRORS Variable. The @@TOTAL-READ Variable. The @@VERSION Variable. Error Functions. Conversion Functions. The CAST() Function. The CONVERT() Function. The STR() Function. 1.0000. Cursor Functions and Variables. The CURSOR-STATUS() Function. The @@CURSOR-ROWS Global Variable. The @@FETCH-STATUS Global Variable. Date Functions. The DATEADD() Function. The DATEDIFF() Function. The DATEPART() and DATENAME() Functions. The GETDATE() and GETUTCDATE() Functions. The SYSDATETIME() and SYSUTCDATETIME() Functions. The DAY(), MONTH(), and YEAR() Functions. String Manipulation Functions. The ASCII(), CHAR(), UNICODE(), and NCHAR() Functions. The CHARINDEX() and PATINDEX() Functions. The LEN() Function. The LEFT() and RIGHT() Functions. The SUBSTRING() Function. The LOWER() and UPPER() Functions. The LTRIM() and RTRIM() Functions. The REPLACE() Function. The REPLICATE() and SPACE() Functions. The REVERSE() Function. The STUFF() Function. The QUOTENAME() Function. Mathematical Functions. Metadata Functions. Ranking Functions. The ROW-NUMBER() Function. The RANK() and DENSE-RANK() Functions. The NTILE(n) Function. Security Functions. System Functions and Variables. The COALESCE() Function. The DATALENGTH() Function. Global System Statistical Variables. Summary. Exercises. Exercise 1. Exercise 2. Exercise 3. Exercise 4. Exercise 5. Chapter 7: Aggregation and Grouping. To Group or Not to Group. Using Aggregate Functions. The COUNT() Function. The SUM() Function. The AVG() Function. Understanding Statistical Functions. The STDEV() Function. The STDEVP() Function. The VAR() Function. The VARP() Function. User-Defined Aggregate Functions. Grouping Data. The GROUP BY Clause. The HAVING Clause. Total and Subtotal Group Modifiers. Subgrouping. The ROLLUP Clause. The CUBE Clause. The GROUPING() Function. The COMPUTE and COMPUTE BY Clauses. Summary. Exercises. Exercise 1. Exercise 2. Exercise 3. Chapter 8: Multi-Table Queries. Understanding Subqueries and Joins. Joining Tables in the WHERE Clause. Joining Tables in the FROM Clause. Types of Joins. Inner Joins. Outer Joins. Multicolumn Joins. Non-Equijoins. Special-Purpose Join Operations. Union Queries. Summary. Exercises. Exercise 1. Exercise 2. Exercise 3. Chapter 9: Advanced Queries and Scripting. Subqueries. Scalar Expressions. Alternate Join Operations. Correlated Subqueries. Business Cases for Subqueries. Common Table Expressions. Cursors. Rowset Versus Cursor Operations. Creating and Navigating a Cursor. Summary. Exercises. Exercise 1. Exercise 2. Exercise 3. Chapter 10: Transactions. Introducing Transactions. Transaction Types. The ACID Test. The Transaction Log. Logged Operations. Let's Do CRUD with Data. Adding Records. Modifying Records. Removing Records. Automating Inserts, Updates, and Deletes with the MERGE Command. Explicit Transactions. Summary. Exercises. Exercise 1. Exercise 2. Exercise 3. Chapter 11: Advanced Capabilities. Pivoting Data. The PIVOT Operator. The UNPIVOT Operator. Full-Text Queries and Approximation Matching. Microsoft Search Service. Soundex Matching. The DIFFERENCE() Function. Managing and Populating Catalogs. Full-Text Query Expressions. Summary. Exercises. Exercise 1. Exercise 2. Exercise 3. Chapter 12: T-SQL Programming Objects. Views. Virtual Tables. Creating a View. Securing Data. Hiding Complexity. Modifying Data Through Views. Stored Procedures. Stored Procedures as Parameterized Views. Using Parameters. Returning Values. Record Maintenance. Handling and Raising Errors. Error Messages. Processing Business Logic. Looping. User-Defined Functions. Scalar Functions. Inline Table-Valued Functions. Multi-Statement Table-Valued Functions. Transaction Management. Locking Options. Summary. Exercises. Exercise 1. Exercise 2. Exercise 3. Chapter 13: Creating and Managing Database Objects. Data Definition Language. Creating Objects. Altering Objects. Dropping Objects. Naming Objects. Creating DDL Scripts. CREATE TABLE Unique Identifiers. Constraints. CREATE VIEW. Indexed Views. CREATE PROCEDURE. CREATE FUNCTION. IF EXISTS. Securing Database Objects. Managing Security Objects. Data Control Language. Summary. Exercises. Exercise 1. Exercise 2. Chapter 14: Analyzing and Optimizing Query Performance. Data Retrieval. Analyzing Queries. Session Options. Graphical Execution Plans. Writing Efficient T-SQL (Best Practices). Writing Efficient Filters. Summary. Exercises. Exercise 1. Chapter 15: T-SQL in Applications and Reporting. Application Programming Models. Selecting a Model. Desktop Database Applications. Client/Server Database Solutions. n-tier Component Solutions. Web Server Applications. Multi-Tier Web Service Solutions. Multi-System Integrated Solutions. SQL Server 2008 Reporting Services. Reporting Services Architecture. SQL Server 2008 Report Design. Deploying the Report. Viewing the Report with Report Manager. Report Data Caching. Business Intelligence and Business Reporting. Report Application Integration. Summary. Appendix A: Command Syntax Reference. Appendix B: System Variables and Functions Reference. Appendix C: System Stored Procedure Reference. Appendix D: Information Schema Views Reference. Appendix E: FileStream Objects and Syntax. Appendix F: Answers to Exercises. Index.
Series Title: Programmer to programmer.
Responsibility: Paul Turley [and others].


User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...


Be the first.
Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data

Primary Entity

<> # Beginning T-SQL with Microsoft SQL Server 2005 and 2008
    a schema:Book, schema:CreativeWork ;
   library:oclcnum "216937245" ;
   library:placeOfPublication <> ;
   library:placeOfPublication <> ; # Indianapolis, Ind.
   schema:about <> ; # SQL Server
   schema:about <> ; # Database management
   schema:about <> ; # Relational databases
   schema:about <> ;
   schema:about <> ; # SQL server.
   schema:about <> ; # SQL server.
   schema:about <> ; # Client/server computing
   schema:bookFormat bgn:PrintBook ;
   schema:contributor <> ; # Paul Turley
   schema:copyrightYear "2009" ;
   schema:datePublished "2009" ;
   schema:exampleOfWork <> ;
   schema:inLanguage "en" ;
   schema:isPartOf <> ; # Wrox programmer to programmer
   schema:isPartOf <> ; # Programmer to programmer.
   schema:name "Beginning T-SQL with Microsoft SQL Server 2005 and 2008"@en ;
   schema:productID "216937245" ;
   schema:publication <> ;
   schema:publisher <> ; # Wiley Publishing
   schema:workExample <> ;
   umbel:isLike <> ;
   wdrs:describedby <> ;

Related Entities

<> # Wiley Publishing
    a bgn:Agent ;
   schema:name "Wiley Publishing" ;

<> # Indianapolis, Ind.
    a schema:Place ;
   schema:name "Indianapolis, Ind." ;

<> # Programmer to programmer.
    a bgn:PublicationSeries ;
   schema:hasPart <> ; # Beginning T-SQL with Microsoft SQL Server 2005 and 2008
   schema:name "Programmer to programmer." ;

<> # Wrox programmer to programmer
    a bgn:PublicationSeries ;
   schema:hasPart <> ; # Beginning T-SQL with Microsoft SQL Server 2005 and 2008
   schema:name "Wrox programmer to programmer" ;

<> # Relational databases
    a schema:Intangible ;
   schema:name "Relational databases"@en ;

<> # SQL server.
    a schema:CreativeWork ;
   schema:name "SQL server." ;

<> # Client/server computing
    a schema:Intangible ;
   schema:name "Client/server computing"@en ;

<> # Database management
    a schema:Intangible ;
   schema:name "Database management"@en ;

<> # Paul Turley
    a schema:Person ;
   schema:birthDate "1962" ;
   schema:familyName "Turley" ;
   schema:givenName "Paul" ;
   schema:name "Paul Turley" ;

    a schema:ProductModel ;
   schema:isbn "0470257032" ;
   schema:isbn "9780470257036" ;

Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.