English French German Italian Portuguese Russian Spanish

logo_old

  • Database Training

    databaseInterSource offers live instructor-led courses on all important database programming technologies, including Crystal Reports, Microsoft Access, MySQL, Oracle, SQL, SQL Server, SSAS, SSIS, SSRS and Xcelsius.

    These live classes are offered both on client sites, at our Geneva training center, and via a Web interface.

  • About Database

    A database is a collection of data stored and maintained for one or more uses. Most modern databases are managed by a Database Management System (DBMS), a set of computer programs that controls the creation, maintenance, and the use of the database with computer as a platform or of an organization and its end users. It allows organizations to place control of organization-wide database development in the hands of database administrators (DBAs) and other specialists.

    The proper integration of databases can dramatically increase the functionality of all types of applications, whether or not Web-enabled.


    Read More
  • Course Details Database

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative dates, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

    InterSource clients are active globally. Live web courses run during Eastern Standard Time (New York) business hours and are priced in US dollars.

    We also run live web conference classes during European business hours, which can be invoiced in local currencies. To discuss your requirements please contact us on +41 (22) 958 0114.

MOC 10774 - Querying Microsoft SQL Server 2012

 PDF PrintEmail

Course duration

  • 5 Days

Course Outline

This Microsoft SQL Server 2012 training provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2012. This course is the foundation for all SQL Server-related disciplines; namely, Database Administration, Database Development and Business Intelligence. This course helps people prepare for exam 70-461. Many of the exercises in this course are SQL Azure enabled.

This course is intended for Database Administrators, Database Developers, and Business Intelligence professionals. The course will very likely be well attended by SQL power users who aren't necessarily database-focused or plan on taking the exam; namely, report writers, business analysts and client application developers.

  • Learn to write SELECT Queries.
  • Learn to query Multiple Tables.
  • Learn to use Built-In Functions.
  • Learn to use Subqueries.
  • Learn to execute Stored Procedures.
  • Learn to use Set Operators.
  • Learn to implement Error Handling.
  • Learn to implementing Transactions.
  • Learn to use Table Expressions.
  • Learn to sort and Filter Data.
  • Learn to use Window Ranking, Offset and Aggregate Functions.
  • Learn to query SQL Server Metadata.
  • Learn to program with T-SQL.
  • Learn to improve Query Performance.
  • Working knowledge of relational databases.
  • Basic knowledge of the Microsoft Windows operating system and its core functionality.
  1. Introduction to Microsoft SQL Server 2012
    1. SQL Server Denali Architecture
    2. Working with SQL Server Denali Tools
    3. Working with SQL Server Databases
    4. Lab : Working with SQL Server Denali Tools (Azure enabled)
      1. Working with SQL Server Management Studio
      2. Exploring with Database Objects
      3. Organizing and Creating T-SQL Scripts
      4. Using Books Online
  2. Introduction to Transact-SQL Querying
    1. Introducing Transact-SQL
    2. Understanding Sets
    3. Understanding Predicate Logic
    4. Understanding the Logical Order of Operations in SELECT Statements
    5. Lab : Introduction to Transact-SQL Querying
      1. Executing Basic SELECT Statements
      2. Executing queries which filter data using predicates
      3. Executing queries which sort data using ORDER BY
  3. Writing SELECT Queries
    1. Writing Simple SELECT Statements
    2. Eliminating Duplicates with DISTINCT
    3. Using Column and Table Aliases
    4. writing Simple CASE Expressions
    5. Lab : Writing Basic SELECT statements
      1. Write simple SELECT statements
      2. Eliminate Duplicates using DISTINCT
      3. Use table and column aliases
      4. Use a simple CASE expression
  4. Querying Multiple Tables
    1. Understanding Joins
    2. Querying With Inner Joins
    3. Querying With Outer Joins
    4. Querying Using Self and Cross Joins
    5. Lab : Querying Multiple Tables
      1. Write queries using inner joins
      2. Write queries using multi-table joins
      3. Write queries using self joins
      4. Write queries using outer joins
  5. Sorting and Filtering Data
    1. Sorting Data
    2. Filtering Data
    3. Filtering with the TOP and OFFSET-FETCH Options
    4. Working with Unknown Values
    5. Lab : Filtering and Sorting Data
      1. Write queries that filter data using a WHERE clause
      2. Write queries that sort data with the ORDER BY clause
      3. Write queries that filter data using the TOP option
      4. Write queries that filter data using the OFFSET-FETCH clause
  6. Working with SQL Server Denali Data Types
    1. Introducing SQL Server Denali Data Types
    2. Working with Character Data
    3. Working with Date and Time Data
    4. Lab : Working with SQL Server 2012 Data Types
      1. Write queries which return date and time data
      2. Write queries which use date and time functions
      3. Write queries which return character data
      4. Write queries which use character functions
  7. Using Built-In Functions
    1. Writing Queries with Built-In Functions
    2. Using Conversion Functions
    3. Using Logical Functions
    4. Using Functions to Test for Nullability
    5. Lab : Using Built-In Functions
      1. Write queries which use conversion functions
      2. Write queries which use logical functions
      3. Write queries which test for nullability
  8. Grouping and Aggregating Data
    1. Using Aggregate Functions
    2. Using the GROUP BY Clause
    3. Filtering Groups with the HAVING Clause
    4. Lab : Grouping and Aggregating Data
      1. Write queries which use the GROUP BY clause
      2. Write queries which use aggregate functions
      3. Write queries which use distinct aggregate functions
      4. Write queries which filter groups with the HAVING clause
  9. Using Subqueries
    1. Writing Self-Contained Subqueries
    2. Writing Correlated Subqueries
    3. Using the EXISTS Predicate with Subqueries
    4. Lab : Using Subqueries
      1. Write queries which use self-contained subqueries
      2. Write queries which use correlated subqueries
      3. Write queries which use scalar and multi-result subqueries
      4. Write queries which use the IN and EXISTS predicates
  10. Using Table Expressions
    1. Views
    2. Table Expressions
    3. Lab : Using Table Expressions
      1. Write queries which use views
      2. Write queries which use derived tables
      3. Write queries which use common table expressions
      4. Write queries which use inline table-valued expressions
  11. Use Set Operators
    1. Lab : Use Set Operators
      1. Write queries which use UNION set operators and UNION ALL multi-set operators
      2. Write queries which use CROSS APPLY and OUTER APPLY operators
      3. Write queries which use APPLY with derived tables and functions
      4. Write queries which use EXCEPT and INTERSECT operators
  12. Using Window Ranking, Offset and Aggregate Functions
    1. Lab : Using Window Ranking, Offset and Aggregate Functions
      1. Write queries which use ranking functions
      2. Write queries which use offset functions
      3. Write queries which use window aggregate functions
  13. Pivoting and Grouping Sets
    1. Lab : Pivoting and Grouping Sets
      1. Write queries which use the PIVOT operator
      2. Write queries which use the GROUPING SETS subclause
      3. Write queries which use GROUP BY ROLLUP
      4. Write queries which use GROUP BY CUBE
  14. Querying SQL Server Metadata
    1. Lab : Querying SQL Server Metadata
      1. Querying system catalog views
      2. Querying system functions
      3. Querying system dynamic management views
  15. Executing Stored Procedures
    1. Lab : Executing Stored Procedures
      1. Use the EXECUTE statement to invoke stored procedures
      2. Pass parameters to stored procedures
      3. Return results from a stored procedure using the OUTPUT clause
      4. Execute system stored procedures
  16. Programming with T-SQL
    1. Lab : Programming with T-SQL
      1. Declaring variables and delimiting batches
      2. Using control of flow elements
      3. Generating dynamic SQL
      4. Using synonyms
  17. Implementing Error Handling
    1. Lab : Implementing Error Handling
      1. Redirecting errors with TRY/CATCH
      2. Creating error handling routines in a CATCH block with ERROR functions
      3. Using THROW to pass an error message back to a client
  18. Implementing Transactions
    1. Lab : Implementing Transactions
      1. Controlling transactions with BEGIN and COMMIT
      2. Using XACT_ABORT
      3. Adding transaction handling logic to a CATCH block
  19. Improving Query Performance
    1. Lab : Improving Query Performance
      1. Viewing query execution plans
      2. Using SET STATISTICS statements
      3. Viewing index usage
      4. Comparing cursors to set-based queries

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.