Book description
Master T-SQL database design, development, and administration the easy way–hands-on!
In just one hour a day, you’ll build all the skills you need to create effective database applications with T-SQL and SQL Server. With this complete tutorial, you’ll quickly master the basics and then move on to more advanced features and concepts:
Learn the fundamentals of T-SQL from the ground up, one step at a time
Succeed with the newest versions of T-SQL, SQL Server, and SQL Server Management Studio
Use T-SQL effectively as both an application developer and DBA
Master powerful stored procedures, triggers, transactions, and user-defined functions (UDFs)
Systematically optimize and secure your SQL Server databases
Learn on your own time, at your own pace
No previous T-SQL or database programming experience required
Learn how to design efficient, reliable SQL Server databases
Define efficient tables, table relationships, fields, and constraints
Make the most of T-SQL’s SELECT and UPDATE statements
Work effectively with simple and complex views and joins
Master stored procedure techniques every developer should know
Build and use powerful User-Defined Functions (UDFs)
Secure databases with authentication, roles, permissions, and principals
Configure, maintain, and tune SQL Server for maximum reliability, performance, and value
Back up, restore, and audit databases
Optimize databases with the SQL Server Profiler, System Monitor, and Index Tuning Wizard
Leverage valuable insight and time saving techniques from a world renowned database expert
Register your book at informit.com/register for access to source code, example files, updates, and corrections as they become available.
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Table of Contents
- About the Author
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
- Lesson 1. Database Basics
- Lesson 2. SQL Server Basics
- Lesson 3. Creating a SQL Server Database
- Lesson 4. Working with SQL Server Tables
-
Lesson 5. Working with Table Relationships
- An Introduction to Relationships
- Creating and Working with Database Diagrams
- Working with Table Relationships
- Designating Table and Column Specifications
- Adding a Relationship Name and Description
- Determining When Foreign Key Relationships Constrain the Data Entered in a Column
- Designating Insert and Update Specifications
- Summary
- Q&A
- Workshop
- Activities
- Lesson 6. Getting to Know the SELECT Statement
- Lesson 7. Taking the SELECT Statement to the Next Level
- Lesson 8. Building SQL Statements Based on Multiple Tables
- Lesson 9. Powerful Join Techniques
- Lesson 10. Modifying Data with Action Queries
-
Lesson 11. Getting to Know the T-SQL Functions
- Working with Numeric Functions
-
Taking Advantage of String Functions
- Using the LEFT Function
- Working with the RIGHT Function
- Exploring the LEN Function
- Using the REPLACE Function
- Using the REVERSE Function
- Using the REPLICATE Function
- Taking Advantage of the STUFF Function
- Using the SPACE Function
- Using the SUBSTRING Function
- Using the LOWER Function
- Using the UPPER Function
- Working with the LTRIM Function
- Working with the RTRIM Function
- Exploring the Date/Time Functions
- Working with Nulls
- Summary
- Q&A
- Workshop
- Activities
- Lesson 12. Working with SQL Server Views
- Lesson 13. Using T-SQL to Design SQL Server Stored Procedures
- Lesson 14. Stored Procedure Techniques Every Developer Should Know
- Lesson 15. Power Stored Procedure Techniques
- Lesson 16. Stored Procedure Special Topics
- Lesson 17. Building and Working with User-Defined Functions
- Lesson 18. Creating and Working with Triggers
- Lesson 19. Authentication
- Lesson 20. SQL Server Permissions Validation
- Lesson 21. Configuring, Maintaining, and Tuning SQL Server
- Lesson 22. Maintaining the Databases You Build
- Lesson 23. Performance Monitoring
- Lesson 24. Installing and Upgrading SQL Server
- Index
- Code Snippets
Product information
- Title: Sams Teach Yourself T-SQL in One Hour a Day
- Author(s):
- Release date: October 2015
- Publisher(s): Sams
- ISBN: 9780134175997
You might also like
book
Sams Teach Yourself Microsoft® SQL Server T-SQL in 10 Minutes, Second Edition
Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes offers straightforward, practical answers when you …
book
Microsoft® SQL Server® 2008 T-SQL Fundamentals
Master the foundations of T-SQL with the right balance of conceptual and practical content. Get hands-on …
book
Beginning T-SQL with Microsoft® SQL Server® 2005 and 2008
If you have never programmed with T-SQL but have some background programming knowledge and experience, Beginning …
book
Microsoft® SQL Server® 2012 Step by Step
Your hands-on, step-by-step guide to building applications with Microsoft SQL Server 2012 Teach yourself the programming …