You are on page 1of 5

Implementing tables and views (14%)

Create and alter tables


o

Computed and persisted columns; schemas; scripts to deploy changes to multiple environments, for example, dev, test, production; manage permissions (GRANT, DENY, REVOKE)

Create and alter views


o

WITH ENCRYPTION; WITH SCHEMABINDING; WITH CHECK OPTION; manage permissions (GRANT, DENY, REVOKE)

Create and alter indexes


o

Filtered, included columns, unique, clustered, non-clustered, FILL FACTOR; CREATE STATISTICS; indexing views, compression

Create and modify constraints


o

PRIMARY KEY, FOREIGN KEY, UNIQUE, CHECK, cascading referential integrity, enabling/disabling, NOCHECK; SET IDENTITY_INSERT

Implement data types


o

FILESTREAM; spatial, structured, and semi-structured; collations

Implement partitioning solutions


o

Partitioned tables and indexes (constraints, partition functions, partition schemes, MERGE, SPLIT, SWITCH); distributed partitioned views (constraints, linked servers)

Preparation resources

Creating SQL Server tables Creating indexes (database engine ) Understanding partitioning

Implementing programming objects (16%)

Create and alter stored procedures


o

Table-valued parameters (TVPs), EXECUTE AS, RECOMPILE, parameter direction (output); WITH ENCRYPTION; manage permissions (GRANT, DENY, REVOKE)

Create and alter user-defined functions (UDFs)


o

WITH SCHEMABINDING, EXECUTE AS; manage permissions (GRANT, DENY, REVOKE)

Create and alter DML triggers

INSERTED, DELETED, INSTEAD OF, EXECUTE AS

Create and alter DDL triggers


o

Enabling/disabling; return event data

Create and deploy CLR-based objects


o

Permission sets (SAFE, UNSAFE, EXTERNAL_ACCESS), SET TRUSTWORTHY

Implement error handling


o

TRY/CATCH, RAISERROR, retrieving error information, custom error messages, @@ERROR

Manage transactions
o

BEGIN TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION ISOLATION LEVEL, named transactions

Preparation resources

How to: Create a stored procedure (SQL Server Management Studio) Creating user-defined functions (database engine) Deploying CLR database objects

Working with query fundamentals (21%)

Query data by using SELECT statements


o

LIKE, WHERE, ORDER BY, INTO

Modify data by using INSERT, UPDATE, and DELETE statements


o

Row constructors, DELETE FROM, UPDATE FROM, TRUNCATE TABLE

Return data by using the OUTPUT clause


o

INSERTED, DELETED, INTO

Modify data by using MERGE statements


o

INSERTED, DELETED, OUTPUT

Implement aggregate queries


o

Built-in aggregate functions, GROUPING SETS, GROUP BY, HAVING

Combine datasets
o

CROSS APPLY, OUTER APPLY, all join types; UNION, UNION ALL, INTERSECT, EXCEPT

Apply built-in scalar functions


o

CAST and CONVERT; REPLACE; LEN and DATALENGTH; PATINDEX and CHARINDEX

Preparation resources

Query fundamentals Aggregate functions (Transact-SQL ) ODBC scalar functions (Transact-SQL)

Applying additional query techniques (15%)

Implement subqueries
o

Simple, correlated, scalar, list, table valued

Implement CTE (common table expression) queries


o

Recursive, non-recursive

Apply ranking functions


o

RANK, PARTITION BY, DENSE_RANK, OVER, ROW_NUMBER, NTILE

Control execution plans


o

Table hints, query hints

Manage international considerations


o

Collations, defining custom errors, filtering data, sort order, nvarchar, database collation, column collation

Preparation resources

Subquery fundamentals Using common table expressions International considerations for databases and database engine applications

Working with additional SQL Server components (10%)


Integrate Database Mail Implement full-text search


o

CONTAINS, CONTAINSTABLE, FREETEXT, FREETEXTTABLE, STOPLIST

Implement scripts by using Windows PowerShell and SQL Server Management Objects (SMOs)

cmdlets

Implement Service Broker solutions


o

Services, queues, messages, message types, message validation, contracts, activation procedures, routes

Track data changes


o

Change tracking; database audit specification; CHANGETABLE, Change Data capture

Preparation resources

Database Mail Administering full-text search Operations (Service Broker)

Working with XML data (12%)

Retrieve relational data as XML


o

FOR XML

Transform XML data into relational data


o

OPENXML, sp_xml_preparedocument, sp_xml_removedocument

Query XML data


o

XQUERY, XPATH

Manage XML data


o

XML datatype, XML indexes, XML schema collections

Preparation resources

Retrieving XML data Implementing XML in SQL Server Maintaining XML in SQL Server

Gathering performance information (11%)

Capture execution plans


o

Graphical execution plans; SHOWPLAN, index details in Query Plans

Gather trace information by using the SQL Server Profiler Collect output from the Database Engine Tuning Advisor

Prepare a workload

Collect information from system metadata


o

Dynamic Management Views (DMVs), catalog views

Preparation resources

Displaying graphical execution plans (SQL Server Management Studio) Viewing and analyzing traces with SQL Server Profiler How to: Create workloads

Event Death Death Death Survival

Time Whole-life Term After term