MCSA Querying Microsoft SQL Server 2012 (Exam 70-461): Required Knowledge for SQL Server 2012 and 2014

Video description

Lesson Files: http://www.informit.com/content/images/9780789753984/downloads/Code_70-461.zip

More than 12 hours of video instruction on Querying Microsoft SQL Server 2012 to help you pass the MCSA Querying Microsoft SQL Server 2012 (70-461) exam

Learn the ins and outs of SQL Server in this practical video tutorial. MCSA/MCSE Exam 70-461 Querying Microsoft SQL Server 2012 LiveLessons is a unique video product that provides a solid understanding of querying SQL Server 2012, a necessity for database administrators and developers and required knowledge for certifications on Microsoft SQL Server 2012 and 2014. Transact-SQL (T-SQL) is the main language used to manage data on Microsoft SQL Server. Understanding T-SQL is foremost in writing performance-based queries. The product takes the student from the basics of the language to the structures that will create optimal results. The student learns, step-by-step, creating database objects, working with data, modifying data, and troubleshooting and optimizing queries for a comprehensive study of querying. This video course contains an initial overview video and 4 modules with 17 videos lessons, subdivided into 155 sub lessons, for a total of 12 hours of instruction. The videos consist of audio instruction, animations, and video screen casts. Each video lab presents detailed objectives, lab diagrams, and video captures. Audio instruction throughout offers detailed explanations, tips, and configuration verifications.

Skill Level
Beginning

Who Should Take This Course
Primary Audience: The target audience for this course are administrators, developers, and power-users in the database world who want to expand their knowledge of Transact-SQL querying, as well as candidates considering taking the Microsoft SQL Server 2012 Administrator and Developer Certifications.

Course Requirements
Users should have a working knowledge of Microsoft SQL Server 2012, experience using SQL Server Management Studio (SSMS), as well as some experience writing Transact-SQL code. Access to a SQL Server 2012 instance including a sample database is also highly recommended.

Learn How To:

Create database objects, including:
o Creating and Altering Tables Using T-SQL Syntax
o Designing, Creating, and Altering Views
o Creating and Modifying Constraints
o Creating and Altering DML Triggers


Working With Data
o Querying Data by Using SELECT Statements
o Implementing Sub-Queries
o Implementing Data Types
o Implementing Aggregate Queries
o Querying and Managing XML Data


Modifying Data
o Modifying Data by using INSERT, UPDATE, and DELETE Statements
o Combining Datasets
o Creating and Altering Stored Procedures
o Working with Functions


Troubleshooting and Optimizing
o Optimizing Queries
o Managing Transactions
o Evaluating the Use of Row-based Operations versu Set-Based Operations
o Implementing Error Handling

Table of Contents

Module 1: Create Database Objects (24%)
Lesson 1: Create and Alter Tables Using T-SQL Syntax
Lesson 2: Design, Create, and Alter Views
Lesson 3: Create and Modify Constraints
Lesson 4: Create and Alter DML Triggers

Module 2: Work With Data (27%)
Lesson 5: Query Data by Using SELECT Statements
Lesson 6: Implement Sub-Queries
Lesson 7: Implement Data Types
Lesson 8: Implement Aggregate Queries
Lesson 9: Query and Manage XML Data

Module 3: Modify Data (24%)
Lesson 10: Modify Data by using INSERT, UPDATE, and DELETE Statements
Lesson 11: Combine Datasets
Lesson 12: Create and Alter Stored Procedures
Lesson 13: Work with Functions

Module 4: Troubleshoot and Optimize (25%)
Lesson 14: Optimize Queries
Lesson 15: Manage Transactions
Lesson 16: Evaluate the Use of Row-based Operations vs. Set-Based Operations
Lesson 17: Implement Error Handling

About LiveLessons Video Training

LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at:  http://www.informit.com/livelessons

Publisher resources

Download Example Code

Table of contents

  1. Introduction
    1. MCSA Querying Microsoft SQL Server 2012 (Exam 70-461) LiveLessons: Introduction
  2. Module 1: Create Database Objects
    1. Create Database Objects
  3. Lesson 1: Create and Alter Tables Using T-SQL Syntax
    1. Learning Objectives
    2. 1.1 Creating Tables Using the CREATE Statement
    3. 1.2 Specifying Schema in Database, Table, and Column Names
    4. 1.3 Choosing Column Data Types
    5. 1.4 Altering Tables and Columns
    6. 1.5 Dropping Tables
    7. 1.6 Demo – Examining the Syntax of the CREATE TABLE Statement and Comparing with a Sample
    8. 1.7 Demo – Best Practices in Naming Tables and Columns
    9. 1.8 Demo – Guideline Samples for Selecting Column Types
    10. 1.9 Demo – Using ALTER TABLE to Add and Modify Columns
    11. 1.10 Demo – Using DROP TABLE and Noting Consequences
  4. Lesson 2: Design, Create, and Alter Views
    1. Learning Objectives
    2. 2.1 Analyzing the CREATE VIEW Statement and Options
    3. 2.2 Demo – Comparing the CREATE VIEW Syntax with a Sample VIEW Statement and Options
    4. 2.3 Creating and Implementing Indexed Views
    5. 2.4 Using ALTER VIEW and DROP VIEW
    6. 2.5 Using a View to Modify Data
    7. 2.6 Demo – Altering a View Using ORDER BY
    8. 2.7 Demo – Updating a Table Using a View
  5. Lesson 3: Create and Modify Constraints
    1. Learning Objective
    2. 3.1 Creating a Primary Key Constraint
    3. 3.2 Demo – Defining a Primary Key Constraint Using CREATE TABLE and ALTER TABLE
    4. 3.3 Defining and Creating Unique Constraints
    5. 3.4 Defining and Creating Foreign Key Constraints
    6. 3.5 Defining and Creating Check Constraints
    7. 3.6 Defining and Creating Default Constraints
    8. 3.7 Demo – Working with Constraints to Enforce Data Integrity
  6. Lesson 4: Create and Alter DML Triggers
    1. Learning Objectives
    2. 4.1 Using DML Triggers
    3. 4.2 Creating and Using AFTER Triggers
    4. 4.3 Demo - Using AFTER Trigger
    5. 4.4 Defining Nested AFTER Triggers
    6. 4.5 Creating and Using INSTEAD OF triggers
    7. 4.6 Using Trigger Update Functions
    8. 4.7 Handling Multiple Rows in a Session
    9. 4.8 Understanding the Performance Implications of Triggers
    10. 4.9 Demo - Understanding Inserted and Deleted Tables When Using an AFTER Trigger
  7. Module 2: Work With Data
    1. Work With Data
  8. Lesson 5: Query Data by Using SELECT Statements
    1. Learning Objectives
    2. 5.1 Creating Queries That Filter Data Using Predicates
    3. 5.2 Creating Queries to Correctly Handle NULLs
    4. 5.3 Writing Queries That Combine Predicates
    5. 5.4 Demo - Reviewing Non-Efficient and Efficient Sample Queries
    6. 5.5 Controlling the Order of the Query Result Using Best Practices
    7. 5.6 Demo - Using ORDER BY, DISTINCT, and Aliases
    8. 5.7 Creating Deterministic Query Results
    9. 5.8 Ranking Query Results Using TOP(x) and OFFSET – FETCH
    10. 5.9 Demo - Using TOP(x) and OFFSET – FETCH to Filter Data
    11. 5.10 Using Joins to Query Data over Multiple Tables
    12. 5.11 Writing Complex Queries – Joins versus Derived Tables
    13. 5.12 Demo - Using Joins to Access Data
    14. 5.13 Accessing Data Using CASE, COALESCE, and ISNULL
    15. 5.14 Using Statements That Load a Table – INSERT VALUES, INSERT SELECT, INSERT EXEC, and SELECT INTO
    16. 5.15 Demo - Using Statements That Load or Create Tables
  9. Lesson 6: Implement Subqueries
    1. Learning Objectives
    2. 6.1 Using Self-Contained and Correlated Subqueries
    3. 6.2 Using Table Expressions – Derived Tables and Common Table Expressions (CTEs)
    4. 6.3 Using the APPLY Operator
    5. 6.4 Demo – Using Subqueries and Table Expressions in Queries
    6. 6.5 Pivoting and Unpivoting Data
    7. 6.6 Demo – Using PIVOT and UNPIVOT Operators in Queries
  10. Lesson 7:Implement Data Types
    1. Learning Objectives
    2. 7.1 Understanding the Uses and Limitations of Each Data Type
    3. 7.2 Using Data Types for Columns and Keys
    4. 7.3 Using Numeric Data Types
    5. 7.4 Using Date and Time Functions
    6. 7.5 Demo - Using Data Types for Columns, Keys, and Dates
    7. 7.6 Using Binary String Data Types
    8. 7.7 Working with Other Data Types such as Uniqueidentifier and XML
    9. 7.8 Demo - Using Binary String and Other Data Types
  11. Lesson 8: Implement Aggregate Queries
    1. Learning Objectives
    2. 8.1 Using a Single Grouping Set
    3. 8.2 Using Group Functions
    4. 8.3 Defining Multiple Grouping Sets
    5. 8.4 Demo - Grouping Data in Queries
    6. 8.5 Using Window Aggregate Functions
    7. 8.6 Applying Ranking and Offset Functions
    8. 8.7 Demo - Using Window Functions in Queries
  12. Lesson 9: Query and Manage XML Data
    1. Learning Objectives
    2. 9.1 Returning Results as XML
    3. 9.2 Demo - Using FOR XML RAW, FOR XML AUTO, and FOR XML PATH
    4. 9.3 Querying XML Data Using XQUERY
    5. 9.4 Demo - Using XQUERY to Extract Data
    6. 9.5 Applying Best Practices to Use the XML Data Type
    7. 9.6 Creating XML Indexes
    8. 9.7 Demo - Using XML Data Type Methods
  13. Module 3: Modify Data
    1. Modify Data
  14. Lesson 10: Modify Data by Using INSERT, UPDATE, and DELETE Statements
    1. Learning Objectives
    2. 10.1 Understanding Methods Used to Insert Data
    3. 10.2 Demo - Using the INSERT SELECT and SELECT INTO Statements
    4. 10.3 Understanding Methods Used to Update Data
    5. 10.4 Demo - Using the UPDATE Statement with Constraints
    6. 10.5 Understanding Methods Used to Delete Data
    7. 10.6 Demo - Using the DELETE and TRUNCATE Statements
  15. Lesson 11: Combine Datasets
    1. Learning Objectives
    2. 11.1 Using the CASE Expression versus ISNULL versus COALESCE
    3. 11.2 Understanding the Difference Between UNION and UNION ALL Set Operators
    4. 11.3 Demo - Using UNION and UNION ALL to Combine Datasets
    5. 11.4 Understanding the MERGE Statement
    6. 11.5 Demo - Using the MERGE Statement to Merge Source Data to a Target
  16. Lesson 12: Create and Alter Stored Procedures
    1. Learning Objectives
    2. 12.1 Creating a Stored Procedure
    3. 12.2 Writing a Stored Procedure to Meet a Given Set of Requirements
    4. 12.3 Demo – Creating and Executing Stored Procedures with Input and Output Parameters
    5. 12.4 Using Branching Logic in a Stored Procedure
    6. 12.5 Demo – Using IF/ELSE, WHILE, WAITFOR, GOTO, and RETURN Statements to Control the Procedure Flow
    7. 12.6 Implementing a Stored Procedure Used for Data Access Layer
  17. Lesson 13: Work with Functions
    1. Learning Objectives
    2. 13.1 Understanding Deterministic and Non-Deterministic Functions
    3. 13.2 Applying Built-In Scalar Functions
    4. 13.3 Creating and Altering User-Defined Functions (UDFs)
    5. 13.4 Demo - Creating and Altering User-Defined Functions
    6. 13.5 Demo - Implementing Scalar and Table-Valued UDFs
  18. Module 4: Troubleshoot and Optimize
    1. Troubleshoot and Optimize
  19. Lesson 14: Optimize Queries
    1. Learning Objectives
    2. 14.1 Understanding Query Optimizer
    3. 14.2 Reading and Analyzing Query Plans
    4. 14.3 Understanding Statistics
    5. 14.4 Using SET Options
    6. 14.5 Demo - Analyzing Queries Using SET Options
    7. 14.6 Using Dynamic Management Objects (DMOs) for Query Tuning
    8. 14.7 Demo - Using Dynamic Management Objects
    9. 14.8 Using Optimizer Hints and Plan Guides
    10. 14.9 Describing Joins and Their Applications
    11. 14.10 Demo - Applying Optimizer Hints
  20. Lesson 15: Manage Transactions
    1. Learning Objectives
    2. 15.1 Applying Transaction Commands and Syntax Including Implicit and Explicit Transactions
    3. 15.2 Using WITH MARK Statement
    4. 15.3 Demo - Controlling Transactions Using BEGIN TRANSACTION, COMMIT TRANSACTION, ROLLBACK TRANSACTION, and @@TRANCOUNT
    5. 15.4 Understanding Locking Protocols Including Shared Locks and Exclusive Locks
    6. 15.5 Understanding the Isolation Levels in SQL Server 2012 to Control Locking and Row Versioning Behavior
    7. 15.6 Demo - Working with Locking Protocols and Transaction Isolation Levels
  21. Lesson 16: Evaluate the Use of Row-based Operations vs. Set-Based Operations
    1. Learning Objectives
    2. 16.1 Implementing Row-Based Cursor Commands - DECLARE, OPEN, FETCH, DECLARE, and DEALLOCATE
    3. 16.2 Demo - Using Cursors to Perform Row Operations
    4. 16.3 Built-In Cursor Functions
    5. 16.4 Impact of Cursors in Scalar User-Defined Functions
    6. 16.5 Implementing Row-Based Operations Without Cursors
    7. 16.6 Demo - Computing an Aggregate Using a Cursor and Compute an Aggregate Using a Set-Based Solution
  22. Lesson 17: Implement Error Handling
    1. Learning Objectives
    2. 17.1 Implementing Try and Catch Blocks to Redirect Errors
    3. 17.2 Demo - Using Try and Catch Blocks
    4. 17.3 Using the Error Object Function to Return Detailed Error Information
    5. 17.4 Implementing THROW
    6. 17.5 Demo - Using THROW to Raise an Exception
    7. 17.6 Implementing XACT_ABORT
    8. 17.7 Demo - Using XACT_ABORT
    9. 17.8 Evaluating Set-Based Solutions versus Row-Based Cursor Solutions
    10. 17.9 Demo - Using a Set-Based Solution
  23. Summary
    1. MCSA Querying Microsoft SQL Server 2012 (Exam 70-461) LiveLessons: Summary

Product information

  • Title: MCSA Querying Microsoft SQL Server 2012 (Exam 70-461): Required Knowledge for SQL Server 2012 and 2014
  • Author(s):
  • Release date: December 2014
  • Publisher(s): Pearson IT Certification
  • ISBN: 013399547X