cra103. + administering microsoft sql server 2012 databases implementing a data warehouse with...

38
70-461: Querying MS SQL Server 2012 Justin Sherborne CRA103

Upload: adam-walton

Post on 17-Dec-2015

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

70-461: Querying MS SQL Server 2012Justin Sherborne CRA103

Page 2: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

What we’ll cover today

Exam Tips

Real Exam Questions (from the surreal world)

Exam 70-461 Topics

Microsoft Certification Overview

Page 3: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Microsoft Certification Overview

Page 4: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

YOU KNOW SQL SERVER 2012How do you become certified?

1 – IdentifyCertification Goal

2 - Find Gaps

3 - Fill Gaps

4 - Take Exam

Page 5: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

1 – IDENTIFY CERTIFICATION GOAL

1 – IdentifyCertification Goal

Page 6: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

MCSA: SQL Server Solutions Associate

+Administering Microsoft SQL Server 2012 Databases

Implementing a Data Warehouse with Microsoft SQL Server 2012

EX

AM462

+ =EX

AM46

3Querying Microsoft SQL Server 2012

EX

AM46

1 MCSA: SQL ServerSolutions Associate

Page 7: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

MCSE: Data Platform Solutions Expert

+Developing Microsoft SQL Server 2012 Databases

Designing Database Solutions for SQL Server 2012

EX

AM464

+ =EX

AM46

5 MCSE: Data PlatformSolutions Expert

MCSA: SQL ServerSolutions Associate

Page 8: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

MCSE: Business Intelligence Solutions Expert

+Implementing Data Models and Reports with Microsoft SQL Server 2012

Designing Business Intelligence Solutions with Microsoft SQL Server 2012

EX

AM466

+ =EX

AM46

7 MCSE: Business IntelligenceSolutions Expert

MCSA: SQL ServerSolutions Associate

Page 9: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Upgrade path

+Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 1

Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2

EX

AM45

7+ =E

XA

M458

MCTS on SQL Server 2008

MCSA: SQL Server 2008

MCSA: SQL ServerSolutions Associate

Page 10: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Upgrade path

+Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 1

Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2

EX

AM45

7+ =E

XA

M458

MCTS on SQL Server 2008

MCSA: SQL Server 2008

MCSE: Data Platform certification.

Transition Your MCITP on SQL Server 2008 to MCSE: Data Platform

+ EX

AM45

9

Page 11: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Upgrade path

+Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 1

Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2

EX

AM45

7+ =E

XA

M458

MCTS on SQL Server 2008

MCSA: SQL Server 2008

MCSE Business Intelligence certification

Transition Your MCITP: Business Intelligence Developer 2008 to MCSE: BI

+ EX

AM46

0

Page 12: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

What does a 700 minimum score mean?

http://borntolearn.mslearn.net/mct/p/mctv.aspx#fbid=moz6QNLQLrs

Page 13: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

2 – FIND GAPS

1 – IdentifyCertification Goal

2 - Find Gaps

Page 14: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

70-461 exam guide

Skills Measured TabFocus studyingTopic weighting

http://www.microsoft.com/learning/en-us/sql-certification.aspx

Page 15: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

70-461 exam outline

Page 16: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Querying Microsoft SQL Server 2012Create Database Objects (24%)Work With Data (27%)Modify Data (24%)Troubleshoot and Optimise (25%)

Page 17: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Create Database Objects(23%)

Page 18: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Querying Microsoft SQL Server 2012Create Database Objects (24%)Work With Data (27%)Modify Data (24%)Troubleshoot and Optimise (25%)

Page 19: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Work with Data(27%)

Page 20: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Querying Microsoft SQL Server 2012Create Database Objects (24%)Work With Data (27%)Modify Data (24%)Troubleshoot and Optimize (25%)

Page 21: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Modify Data (24%)

Page 22: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Querying Microsoft SQL Server 2012Create Database Objects (24%)Work With Data (27%)Modify Data (24%)Troubleshoot and Optimize (25%)

Page 23: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Troubleshoot and Optimize (25%)

Page 24: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Sample Question #1Select the appropriate over clause to rank the highest sale in desc order for each month. Ensure that no numbers are skipped for the rank

A. Rank() over (Partition by Month order by Sales desc)B. Dense_Rank() over (Partition by Month order by Sales desc)C. Partition over (Month rank() by Sales desc)D. Partition over (Month dense_rank() by Sales desc)

Page 25: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Sample Question #2The results of an Insert statement need to be output to a table variable for further analysis. Which statement below will achieve the desired result?

A. INSERT Production.ScrapReason OUTPUT INSERTED.ScrapReasonID, INSERTED.Name, INSERTED.ModifiedDate INTO @MyTableVar VALUES (N'Operator error', GETDATE());

B. INSERT Production.ScrapReason VALUES (N'Operator error', GETDATE()) OUTPUT INSERTED.ScrapReasonID, INSERTED.Name, INSERTED.ModifiedDate INTO @MyTableVar;

C. INSERT INTO @MyTableVar Select ScrapReasonID, Name, ModifiedDate from Production.ScrapReason

D. INSERT Production.ScrapReason VALUES (N'Operator error', GETDATE()) Select INSERTED.ScrapReasonID, INSERTED.Name, INSERTED.ModifiedDate INTO @MyTableVar;

Page 26: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Sample Question #3In a select statement, a Measurement field is required that displays the Weight field if it is not null, otherwise the size field if it is not null, yet if both fields are null it displays ‘NA’. Which function can achieve this outcome

A. IsNullB. CharIndexC. ChooseD. Coalesce

Page 27: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Sample Question #4You plan to use a cursor to analyse sql server metadata to determine the fragmentation of indexes in the Adventureworks database. If the fragmentation is above 30% you plan to rebuild the index. What is the order of the steps below to achieve your task

A. Fetch next from the cursorB. Open CursorC. Declare a cursor variableD. Check @@Fetch_Status, rebuild index if required then fetch

nextE. Deallocate cursorF. Close Cursor

Page 28: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Sample Question #4You plan to use a cursor to analyse sql server metadata to determine the fragmentation of indexes in the Adventureworks database. If the fragmentation is above 30% you plan to rebuild the index. What is the order of the steps below to achieve your task

A. Fetch next from the cursor ..(3)B. Open Cursor ..(2)C. Declare a cursor variable ..(1)D. Check @@Fetch_Status, rebuild index if required then fetch

next …(4)E. Deallocate cursor ..(6)F. Close Cursor ..(5)

Page 29: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Sample Question #5To ensure that a StartDate field is always less than the EndDate field in a schedule table, what TSQL component should be used. The answer must provide the best performance

A. DefaultB. After TriggerC. Check constraintD. Instead of TriggerE. Clr component

Page 30: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

4 – TAKE EXAM

1 – IdentifyCertification Goal

2 - Find Gaps

3 - Fill Gaps

4 - Take Exam

Page 31: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Related Content

Hands-on Labs

Microsoft Training

Breakout Sessions

Find Me Later At...

Page 32: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Microsoft Training (5 day Courses)- 10774 Querying MS SQL Server 2012

- 10775 Adminstering MS SQL Server 2012 Databases

- 10776 Developing MS SQL Server 2012 Databases

Page 33: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Breakout SessionsDB1302 Wed 10:40 am – 11:40 am

- Whats new in SQL Server 2014DB1309 Wed 11:55 am – 12:55 pm

- Largest SQL Server and Azure Projects WorldwideDB1311 Wed 4:30 pm – 5:30 pm

-MS SQL Server High Availability and Disaster Recovery

in Windows AzureDB1205 Thu 9:00 am – 10:00 am - Mastering Enterprise Database Migrations to SQL

Server

Page 34: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

DB1308 Thu11:55 am – 12:55 pm - How to become a DBA of the future?DB1303 Thu 1:55 pm – 2:55 pm -Virtualising SQL Server 2012 – Local and CloudDB1313 Thu 4:30 pm – 5:30 pm -Performance Tuning MS SQL Server in Windows Azure

Virtual MachinesDB1217 Thu 5:45 pm – 6:45 pm -Migrations to SQL Server made easy: Panel Discussion

Breakout Sessions

Page 35: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Hands-on LabsDBI-H213: Upgrading to Microsoft SQL Server 2012 from SQL Server 2005 and 2008In this lab, learn how to upgrade from SQL Server 2005 or SQL Server 2008 to SQL Server 2012.DBI-H216: Implementing and Managing AlwaysOn Availability GroupsIn this lab, learn how to implement and manage Alwayson Availability Groups

Page 36: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Testing Centre……

Find Me Later At...

Page 37: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

Evaluate this session and you could win instantly!

Head to...aka.ms/te

Page 38: CRA103. + Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server 2012 + = Querying Microsoft

© 2013 Microsoft Corporation. All rights reserved.Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.