Está en la página 1de 7

SQL Training Material Links for 70-433

Phase-1
Week 1 # Topics 1 SQL Server 2008 R2 Installation and setup Database Designs - Creating database - Designing tables - Indexes - Data types Reference Links Book: \\192.168.2.12\Site_Software\11_Knowledge_Base\Course CDs and eBooks\MS SQL Server 2008 Step by Step - Chapter 1, 2, 3 Book: \\192.168.2.12\Site_Software\11_Knowledge_Base\Course CDs and eBooks\MS SQL Server 2008 Step by Step - Chapter 4, 5, 6

Hands-on and assignment

MS SQL Server 2008 Step by Step - Exercises Assignment: Create database (e.g. Purpose user-role mapping) a. Submit DB diagram b. Generate and insert scripts

Live Lessons videos - SQL Server Overview - SQL Server Tools - Relational Database Basics - Understanding SQL Server Databases - Back-up and Restore SQL server Database Self-study material Implement data types Chapter 4 & 5 Create and Alter Tables Chapter 4 & 5 Create and Alter Index Chapter 4 & 5

Videos: \\192.168.2.12\Site_Software\11_Knowledge_Base\Live Lessons (Videos)\SQL Server Fundamentals For Accidental DBA

MSDN link: http://msdn.microsoft.com/en-us/library/ms187752.aspx MSDN link: http://msdn.microsoft.com/en-us/library/ms189614.aspx MSDN link: http://msdn.microsoft.com/en-us/library/ms180857.aspx

Week 1 Retrieving and Manipulating Data - Data retrieval 6 - Advanced data retrieval - Data Manipulation 7 Hands-on and assignment

Book: \\192.168.2.12\Site_Software\11_Knowledge_Base\Course CDs and eBooks\MS SQL Server 2008 Step by Step - Chapter 8, 9, 10 MS SQL Server 2008 Step by Step - Exercises Assignment:

8 9

Live Lessons videos - Transact SQL Basics Self-study material Query - Select Statement Chapter 6 & 7

1. Use any project or Adventure works database and improve performance of a Select query (Having more than 2 joins) by adding a. Clustered index b. Non-clustered index c. Non-clustered index with covering Index/Included columns. 2. Using Adventure works database create select queries to get a. List of employees reporting to a manager b. Count of employees reporting to a manager c. List of customer with their territory information d. Detail of Product by category e. List a sales person who have not done any sales on given start and end date 3. Write query to insert and update the tables created in Assignment 1 or any table from Adventure works Database. Make sure that relevant and sufficient data is inserted in the tables using statements. Videos: \\192.168.2.12\Site_Software\11_Knowledge_Base\Live Lessons (Videos)\SQL Server Fundamentals For Accidental DBA MSDN link: http://msdn.microsoft.com/en-us/library/ms190617.aspx MSDN link: http://msdn.microsoft.com/en-us/library/ms181096.aspx

Insert Update and Delete Statement Chapter 6 & 7 Week 1 - Advanced data retrieval (Repeat) - Views Week 2 Designing Advanced Database Objects - Views (Repeat) 10 - Stored Procedures - Functions

Book: \\192.168.2.12\Site_Software\11_Knowledge_Base\Course CDs and eBooks\MS SQL Server 2008 Step by Step - Chapter 11, 12, 13

Phase-2
Phase 2: Week 1 (November 21 - November 26, 2010) SQL Server 2008 New features and data type (Part 1) Data Types: 1) Date, Datetimeoffset, DateTime2 2) Hierarchyid Data Type 3) Spatial Data Types a. Geography b. Geometry SQL Server 2008 New features and data type (Part 2) 1) Change Tracking 2) Change Data Capture 3) Merge 4) Table valued parameter References: http://technet.microsoft.com/en-us/magazine/2008.04.datatypes.aspx HierarchyID: http://msdn.microsoft.com/hi-in/bb677173(en-us).aspx

References: 1) Change Tracking: http://msdn.microsoft.com/en-us/library/cc280462.aspx 2) Merge: http://technet.microsoft.com/en-us/library/bb510625.aspx; http://channel9.msdn.com/posts/ashishjaiman/TSQLMerge-Statement-SQL-Server-2008/ 3) Table valued parameter: http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/12/02/sql-server-2008-table-valuedparameters.aspx

Assignment 1

1) Use HierarchyId data type (http://msdn.microsoft.com/en-us/library/bb677213.aspx) a. Create a table with typical scenario of Employee and Manager and populate some data b. Now create another table using Hierarchy ID column with Employee and Manager 2) information c. Populate the table with same data as used in step a d. Create Index on New table that is using HierarchyId e. Write query to get following result from the new table i. Get all the employee reporting to a single manager ii. Get the manager of an employee

Week 1 (November 21 - November 26, 2010)

XML Data - Part 1 4 a. XML - Retrieve relational data as XML, For XML References: http://msdn.microsoft.com/en-us/library/ms189887.aspx http://msdn.microsoft.com/en-us/library/ms178107.aspx

Assignment 2

A) Using XML Data type 1) Create a table with a column using XML Data type and retrieve the XML data from the column. 2) Should use XPath, Value(), Nodes(), Exists() and Query() functions 3) The XML node should join with another relational table

Week 2 (November 29,2010 - December 03, 2010) XML Data - Part 2 a. Transform XML data OPENXML, sp_xml_preparedocument, sp_xml_removedocument b. Query XML data, XQUERY, XPATH References: http://msdn.microsoft.com/en-us/library/ms187367.aspx http://msdn.microsoft.com/en-us/library/ms190353.aspx http://msdn.microsoft.com/en-us/library/ms175160.aspx http://msdn.microsoft.com/en-us/library/ms172038.aspx http://msdn.microsoft.com/en-us/library/ms189075.aspx B) Perform DML operations on XML data type a. Update and Delete operations on XML Data b. Insert Operation with XML Variable Note that the XML should have minimum 3 levels and 4 attributes.

Assignment 3

Week 2 (November 29,2010 - December 03, 2010) Others 1. Manage international considerations a. Working with Collations 2. Implement partitioning solutions a. Partition enhancement in SQL 2008 References: 1) Manage international considerations: http://msdn.microsoft.com/en-us/library/ms190245.aspx 2) Implement partitioning solutions: http://msdn.microsoft.com/en-us/library/ms190787.aspx 3) Partition enhancement in SQL 2008: http://sqlblog.com/blogs/erin_welker/archive/2008/02/10/partitioningenhancements-in-sql-server-2008.aspx

3. Gather trace information by using the SQL Server Profiler 4. Overview Service broker, Mail

Assignment 4

A) Create a database and table with a collation that work on case sensitive data B) Write a query to showcase that ORDERBY clause is returning of case sensitive results C) Write a join of two table, one from the database that you have created above and another that uses default collation. Make sure that join works without any error (Resolve collation conflict error) A) Choose one Transaction table and enable partition on the table B) Understand and showcase the concept of Left and Right partition boundary (Partition Function) http://blogs.msdn.com/b/menzos/archive/2008/06/25/table-partitioning-in-sql-2008.aspx C) Push the data from transaction table to transaction history table using partition.

10

Assignment 5

MS SQL Server 2008 Step by Step - Exercises Assignment: 1. Assuming a new customer will purchase an item, using Adventure works database create a stored procedure to insert following information in the table a. New Customer information b. New Sales Person Information c. Order placed by customer and order details d. Information regarding the sales person of the order 2. Using adventure works database create a view to get the details of customer based on Territories. 3. Using adventure works database write a function to return number of customers per territory. Territory ID should be the parameter of the function. 4. Using the same query as in Question 3, print the names of all the territories which have more than 500 customers in them.

11

Hands-on and assignment

12 13

Live Lessons videos - Advanced Programmability Self-study material Create & Alter Stored Proc Chapter 8 Create and Alter Views Chapter 4 & 5

Videos: \\192.168.2.12\Site_Software\11_Knowledge_Base\Live Lessons (Videos)\SQL Server Fundamentals For Accidental DBA

MSDN link: http://msdn.microsoft.com/en-us/library/ms190782.aspx MSDN link: http://msdn.microsoft.com/en-us/library/ms189918.aspx

Create & Alter User Defined Functions Chapter 8 Create and Modify constraints Chapter 4 & 5 Week 2

MSDN link: http://msdn.microsoft.com/en-us/library/ms189593.aspx MSDN link: http://msdn.microsoft.com/en-us/library/ms190765.aspx

1 4

Others - Security - SQL Profiler - Query execution plan - Statistics

Book: \\192.168.2.12\Site_Software\11_Knowledge_Base\Course CDs and eBooks\MS SQL Server 2008 Step by Step Chapter 18

1 5

Live Lessons videos - Application Security - Indexing

Videos: \\192.168.2.12\Site_Software\11_Knowledge_Base\Live Lessons (Videos)\SQL Server Fundamentals For Accidental DBA

1 6 1 7

Hands-on and assignment Self-study material Implement Error handling Manage international considerations - Filtering data, sort order, nvarchar

MS SQL Server 2008 Step by Step - Exercises

MSDN link: http://msdn.microsoft.com/en-us/library/ms179465.aspx http://msdn.microsoft.com/en-us/library/ms187582.aspx http://msdn.microsoft.com/en-us/library/ms190920.aspx http://msdn.microsoft.com/en-us/library/ms186939.aspx

También podría gustarte