Learn T-SQL from Scratch - 2nd Edition
eBook - ePub

Learn T-SQL from Scratch - 2nd Edition

A beginner’s guide to T-SQL querying, SQL Server development, performance tuning, and deployment (English Edition)

  1. 415 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learn T-SQL from Scratch - 2nd Edition

A beginner’s guide to T-SQL querying, SQL Server development, performance tuning, and deployment (English Edition)

About this book

Description
Start your SQL Server and T-SQL journey with a clear, simple, and step-by-step guide that helps you build practical database skills from the ground up. You will learn DDL to create databases, schemas, tables, constraints, and indexes, and DML to retrieve and modify data. You will build advanced querying and analytical skills with joins, subqueries, CTEs, built-in functions, pivot, unpivot, rollup, and ranking and window functions.

You will use T-SQL features including temporary tables, cursors, WHILE loops, CASE expressions, IF...ELSE statements, transactions, error handling, concurrency controls, and isolation levels. You will create stored procedures, views, functions, and triggers; process XML and JSON; improve performance through indexing and tuning; troubleshoot issues; and deploy database solutions.

Updated for SQL Server 2022, this edition covers relevant features and practical topics without promising exhaustive coverage. It expands coverage of built-in functions, pivot, unpivot, rollup, cursors, concurrency concepts, isolation levels, performance tuning, and tips for writing efficient stored procedures.

What you will learn
? Create database objects and retrieve and modify data.
? Perform advanced querying and analysis with joins, subqueries, CTEs, pivot, unpivot, rollup, and window functions.
? Use T-SQL features, transactions, error handling, concurrency controls, and isolation levels.
? Develop stored procedures, views, functions, and triggers.
? Process XML and JSON data.
? Optimize, troubleshoot, and deploy database solutions.

Who this book is for
SQL for All is the core idea behind this book. Whether you are a student, fresher, aspiring database developer, data analyst, data engineer, or data enthusiast, this book is designed to make T-SQL and data literacy accessible, practical, and easy to learn. No prior experience is required—just a willingness to learn and explore the world of data.

Table of Contents
1. Getting Started
2. Tables
3. Indexes
4. DML
5. Built-In Functions - Part 1
6. Join, Apply, and Subquery
7. Built-In Functions – Part 2
8. Pivot and Unpivot
9. Dealing with XML and JSON
10. Variables and Control Flow Statements
11. Temporary Tables, CTE, and MERGE Statement
12. Cursors
13. Performance Tuning Essentials
14. Error Handling and Transaction Management
15. Data Conversion, Cross-Database, and Cross-Server Data Access
16. Programmability
17. Tips for Efficient Stored Procedures
18. Deployment

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Year
2026
eBook ISBN
9789378548093

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. About the Reviewers
  7. Acknowledgement
  8. Preface
  9. Table of Contents
  10. 1. Getting Started
  11. 2. Tables
  12. 3. Indexes
  13. 4. DML
  14. 5. Built-In Functions - Part 1
  15. 6. Join, Apply, and Subquery
  16. 7. Built-In Functions – Part 2
  17. 8. Pivot and Unpivot
  18. 9. Dealing with XML and JSON
  19. 10. Variables and Control Flow Statements
  20. 11. Temporary Tables, CTE, and MERGE Statement
  21. 12. Cursors
  22. 13. Performance Tuning Essentials
  23. 14. Error Handling and Transaction Management
  24. 15. Data Conversion, Cross-Database, and Cross-Server Data Access
  25. 16. Programmability
  26. 17. Tips for Efficient Stored Procedures
  27. 18. Deployment
  28. Index

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Learn T-SQL from Scratch - 2nd Edition by Brahmanand Shukla in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over 1.5 million books available in our catalogue for you to explore.