Presentation is loading. Please wait.

Presentation is loading. Please wait.

Deeper Skill Set Certification Requirement Broader Skill Set Recertification Relevance Rigor.

Similar presentations


Presentation on theme: "Deeper Skill Set Certification Requirement Broader Skill Set Recertification Relevance Rigor."— Presentation transcript:

1

2

3

4

5

6

7 Deeper Skill Set Certification Requirement Broader Skill Set Recertification Relevance Rigor

8

9

10

11

12

13

14

15 Exam 70-461: Querying Microsoft SQL Server 2012 MCSA: SQL Server 2012 Exam 70-462: Administering Microsoft SQL Server 2012 Databases Exam 70-463: Implementing a Data Warehouse with Microsoft SQL Server 2012

16 MCSA: SQL Server 2012 MCSE: Data Platform Exam 70-464: Developing Microsoft SQL Server 2012 Databases Exam 70-465: Designing Database Solutions for SQL Server 2012

17

18

19 Details of each area

20

21 Create Database Objects Querying Data Modifying Data Optimizing Queries

22 Create Database Objects Querying Data Modifying Data Optimizing Queries

23

24 Check Primary Key Foreign Key Unique Default [ColumnDefinition] ConstraintName TYPE Options

25 CREATE TRIGGER ProductCategory_Insert ON Production.ProductCategory AFTER INSERT AS BEGIN SET NOCOUNT ON INSERT INTO ProductCategoryLog (ProductCategoryID, Name, CreationDate) SELECT INSERTED.ProductCategoryID, INSERTED.Name, GETDATE() FROM INSERTED END Note: Always part of the current transaction

26 1024 columns Single query Restricted data modifications No top (without order by)

27 Schemabinding Encryption View Metadata Check

28

29 Takeaway: Geometry for flat surfaces

30 Create Database Objects Querying Data Modifying Data Optimizing Queries

31 TRY_CONVERT(type, value) PARSE(value AS type USING culture) TRY_PARSE also available FORMAT(value, format, culture) IIF(boolean, True, False)

32 Rank Dense rank Ntile Row number

33 Inner Outer Full Cross

34

35

36 Null != Null Use Column IS NULL or Column IS NOT NULL Case ISNULL COALESCE

37

38 SELECT Region, Country, Category, SUM(TotalSold) AS TotalSales FROM Sales.SalesInformation GROUP BY ROLLUP(Region, Country, Category); -- One pass -- OR GROUP BY ROLLUP(Region, Country, Category); -- Every Pass

39 SELECT Region, Country, Category, SUM(TotalSold) AS TotalSales FROM Sales.SalesInformation GROUP BY GROUPING SETS ( (Region, Country, Category), (Country, Category), (Region, Category), (Category) );

40 ...

41 SELECT FirstName, LastName FROM Person.Contact AS Contact FOR XML AUTO, ROOT('Contacts'), ELEMENTS...

42 SELECT 1 AS Tag, NULL AS Parent, ProductID AS [Product!1! ID], Name AS [Product!1!Name!ELEMENT] FROM SalesLT.Product WHERE ProductCategoryID = 5 FOR XML EXPLICIT, ROOT('Products');...

43

44

45

46

47 Create Database Objects Querying Data Modifying Data Optimizing Queries

48

49

50

51 MERGE Target AS T USING Source AS S ON (T.EmployeeID = S.EmployeeID) WHEN NOT MATCHED BY TARGET -- INSERT THEN INSERT(EmployeeID, EmployeeName) VALUES(S.EmployeeID, S.EmployeeName) WHEN MATCHED -- UPDATE THEN UPDATE SET T.EmployeeName = S.EmployeeName OUTPUT $action AS [Action], inserted.EmployeeID AS [NewID], inserted.EmployeeName AS [NewName], deleted.EmployeeID AS [OldID], deleted.EmployeeName AS [OldName];

52

53

54 Create Database Objects Querying Data Modifying Data Optimizing Queries

55

56 Begin Commit Rollback Save

57

58

59 BEGIN TRY BEGIN TRANSACTION -- Perform Work, assuming success COMMIT TRANSACTION END TRY BEGIN CATCH ROLLBACK TRANSACTION PRINT ERROR_MESSAGE() PRINT ERROR_NUMBER() PRINT ERROR_LINE() END CATCH

60

61 SELECT * FROM Person.Address WHERE City = @city_name AND PostalCode = @postal_code OPTION (OPTIMIZE FOR (@city_name = 'Seattle', @postal_code UNKNOWN)); UPDATE Production.Product WITH (TABLOCK) SET ListPrice = ListPrice * 1.10 WHERE ProductNumber LIKE 'BK-%';

62

63 Set a date Set small goals Sleep well Before the Exam Don’t panic Keep an eye on time Don’t spend too long on one question During the Exam Eliminate wrong answers Mark the question for review Guess Tough Question

64

65 www.microsoft.com/learning http://microsoft.com/msdn http://microsoft.com/technet http://channel9.msdn.com/Events/TechEd

66

67

68 Labs DBI-H305 What's New for T-SQL in Microsoft SQL Server 2012

69


Download ppt "Deeper Skill Set Certification Requirement Broader Skill Set Recertification Relevance Rigor."

Similar presentations


Ads by Google