Year: 2011 (2 nd year) Term: 3 Class group: Blue Facilitator: C. Du Toit Description: Learn how to install, configure and administer a Microsoft SQL Server. Learn how to manage a SQL database hosted on a Microsoft SQL Server, running Windows Server 2008. SYLLABUS: 1. The features and characteristics of the installation and Data types of Microsoft SQL Server: (a) Installing SQL Server Examining Your Environment; Upgrading from a Previous Edition; Installing SQL Server ; Troubleshooting the installation. Installing SQL Server manually; Installing a Second Instance. Describing the architecture and components of SQL Server. Preparing for a SQL Server installation. Manage a SQL Server installation. (b) Navigating and Using SQL Server Tools Understanding SQL Server Tools; Introducing SQL Server Management Studio (SSMS); Introducing Books Online; Introducing SQL Server Configuration Manager; Introducing SQL Server Surface Area Configuration; Introducing Non graphical Support Tools, and Locating Information by Using SQL Server Utilities. (c) Working with Data types and Tables Introducing Built-in Data types; Formatting and Converting Data; Introducing Alias Data types; Creating CLR User-Defined Types; Understanding How SQL Server Organizes Data in Rows Creating Data type by Using SSMS Object Explorer, Designing and Creating Tables Describe data types. Partitioning Tables. Create data types and tables. 2. Databases and the application of SQL database methodologies and operations. (a) Working with Databases Planning and managing your Database; Create Data Storage Structures; Create and Configure Databases; Selecting and Setting a Recovery Model. Create schemas. Viewing Database Metadata Monitoring and Managing File group Usage. (b) Performing Indexing and Full-Text Searching Understanding Index Architecture; Partitioned Indexes; Creating Indexes; Using Full-Text Searching. Designing and Creating a Clustered Index; Designing and Creating a Non clustered Index; Designing and Creating a Full-Text Index Plan, create, and optimize SQL indexes. Create XML indexes. (c) Working with Views Understanding Views; Modifying Data through a View; Working with Indexed Views; Making a Partitioned View. Designing and Creating a View (d) Setting Constraints and Restricting the Data Introducing Constraints; Introducing Primary and Foreign Keys Designing and Creating a Constraint
3. Construction of a functional SQL database by employing a mixture of advanced skills, techniques and processes. (a) Working with and Using Stored Procedures Introducing Stored Procedures; Introducing CLR Procedures; Reviewing Development Guidance; Processing Stored Procedures. Designing and Creating a Stored Procedure. Describe the types and uses of views. Manage views. Implement and Create parameterized stored procedures, and Implement functions. (b) Working with Functions and Triggers Understanding Functions; Using Built-in Functions; Creating Functions; Introducing CLR Functions; Understanding Deterministic and Nondeterministic Functions; Using Schema Building Designing and Creating a User-Defined Function Introducing Triggers; Understanding DML Triggers; Understanding DDL Triggers; Understanding Trigger Recursion and Nesting; Understanding Disabling Triggers; Understanding Event Notifications Designing and Creating a Insert Trigger, Delete Trigger, Update Trigger and a Instead Trigger. (c) Working with Transactions and Locks Understanding Transactions; Understanding Locks; Using Data Manipulation Language Queries; Introducing Error Handling; Using Two Additional SQL Server Features Identifying and Rectifying the Cause of a Block (d) Moving Data and working with XML Data types Understanding the Tools Available; Importing Data Using Bulk Insert; Importing Data Using the bcp Utility; Using SSIS; Copying Databases; Bulk-Inserting XML Data; Supporting the Bulk- Logged Recovery Model. Using the Copy Database Wizard. Overview of Data Transfer. Introduction and using the SQL Server Integration Services. Features of SQL Server Integration Services. Creating and Deploying an SSIS Package. Using SSIS to Extract Data, Perform Lookups, Sort, and Split Data. Describe the problems surrounding data transfer and the tools that SQL Server provides to perform data transfer. Describe the purpose of SQL Server Integration Services. Use SQL Server Integration Services to transfer data into a SQL Server database. Understanding XML Data. Using the XML Datatype. Implementing and Create Constraints, Triggers and XML Schemas. Working with XML Schema; Storing Typed XML Data; Querying XML Data; Decomposing XML Data; 4. Suitable processes to produce an operational SQL database, evaluating Data Recovery techniques (a) Setting Permissions Understanding Security Modes; Understanding SQL Server Logins; Understanding the Items Common to All Logins; Understanding SQL Server s Security Architecture; Understanding Database Roles; Understanding Permission States; Introducing Ownership Chains, Introducing Linked Server Security; Introducing Encryption; Creating a Security Plan. Creating a Windows Login, Standard Login; Assigning Logins to Fixed Server Roles; Creating a Database User Mapping; Assigning User Mappings to Fixed Database Roles; Creating a Custom Database Role; Creating an Application Role; Assigning Permissions; Configuring Encrypted Connections. Describe the security architecture in SQL Server. Monitor SQL Server 2005 performance and activity. Automate tasks by creating jobs, operators, and alerts. Assigning Server-Scope Permissions. Creating and Managing Users. Using a Certificate to Protect Data. Describe how SQL Server manages security. Protect SQL Server databases. Use keys and certificates to protect SQL Server objects.
(b) Backing Up and Restoring Data Enforcing Security Policies; Implementing the First Layer of Defense; Understanding How Backups Work; Restoring Databases; Devising a Backup Strategy. Creating a Backup Device; Performing a Full Backup, Differential Backup, Transaction Log Backup, File group Backup; Restoring a Database; Performing a Point-in-Time Restore. Backup and restore user databases. Recover data from database snapshots. Recover system databases. Performing Online Restore Operations, Restore data in a user database while it is online. Plan a backup strategy for a database. (c) Automating Maintenance Maintaining Indexes; Maintaining Databases; Understanding Automation Basics; Configuring Database Mail; Creating Operators, Jobs, Alerts; Using Maintenance Plan Wizard. Creating a SQL Server Performance Alert; Creating a WMI Alert. (d) Monitoring and Optimizing Using System Monitor; Monitoring with SQL Profiler; Using the Database Engine Tuning Advisor; Troubleshooting SQL Server; Using the Dedicated Administrator Connection. Creating an Alert in Windows System Monitor; Running a Trace in Profiler; Creating a Workload in Profiler; Using the Database Engine Tuning Advisor; Using the Dedicated Administrator Connection. View Current Activity. Use System Monitor, SQL Server Profiler, DDL Triggers, Event Notifications. Monitoring SQL Server Performance. Tracing SQL Server Activity. Examine the current activity in a SQL Server instance. Use System Monitor to obtain performance data about your computer and the instances of SQL Server running on your computer. Use SQL Server Profiler to trace server and database activity. Implement DDL triggers that enable you to audit changes to the structure of database objects. Use event notifications to capture and monitor significant events for a SQL Server instance. LEARNING OUTCOMES The specific outcomes and associated assessment criteria for this module are indicated below. Learning Outcomes Assessment Criteria To achieve each outcome the student must demonstrate the ability to: LO1. Investigate the features and characteristics of the installation LO2. Demonstrate an understanding of Databases and the application of SQL database methodologies and operations. AC1. Identify the Installation procedures for SQL Server AC2. Navigate and use SQL Server Tools AC3. Implement different Data types and Tables AC4. Practice correct database design while working with Databases AC5. Perform Indexing and Full-Text Searching AC6. Manage and apply a range of query types and Views AC7. Set Constraints and Restrict Data usage LO3. Construct a functional SQL database by employing a AC8. Create a Stored Procedure
mixture of advanced skills, techniques and processes. AC9. Use functions within SQL databases using triggers AC10. Implement Transactions and Locks AC11. Move Data and work with XML Data types LO4. Establish the most suitable processes to produce an operational SQL database, evaluating Data Recovery techniques AC12. Evaluate and Set SQL database and Server Permissions AC13. Back Up and Restoring Data AC14. Automate Server Maintenance AC15. Monitoring and Optimizing Server Performance APPLICABLE GENERAL OUTCOMES: a. Identify and solve problems in which responses display the ability to make responsible decisions and use critical and creative thinking. b. Work effectively with others as a member of a team, group, organization or community. c. Organize and manage oneself and one s activities responsibly and effectively. d. Collect, analyse, organize and critically evaluate information. e. Communicate effectively using visual, mathematical and verbal skills in oral and/or written presentations. f. Use science and technology effectively and critically, showing responsibility towards the environment and the health of others. g. Comprehend that the world is a set of inter-related systems by recognising that problems cannot be solved in isolation. TEACHING-LEARNING METHODS: The delivery of this module could consist of a combination of the following: Formal presentations (lectures), Group discussions (tutorials), Self-study, E-learning (interaction with computers), assignments, and workplace learning. ASSESSMENT: Assessment in this module is conducted by way of different methods throughout the duration of the module to monitor your learning and give guidance towards your further learning based on identified learning gaps (continuous assessment), and assessment at the end to determine achievement of all competence standards to achieve a pass, merit or distinction grade (final assessment). The applicable methods and its frequency are indicated below: METHOD TYPE FREQUENCY METHOD TYPE FREQUENCY Written Test 1 Practical Examination 1 Workplace Experiential Learning Portfolio 1 Written Examination 1 WORKPLACE EXPERIENCE:
This module requires workplace experience as an integrated component of your learning. The purpose is to learning how to apply your knowledge and skills in the real work environment. It is required to complete 120 hours (15 working days) during the year. LEARNING RESOURCES: The resources used in this module cover the following: Prescribed Textbooks Other (Documents and notes provided to learner by Lecturer) Prescribed textbook: MOAC: Microsoft SQL Server 2008 Implementing and Maintenance ISBN: 9780470183687 (70-432) This book becomes the property of the student Recommended Reading: Microsoft Official Academic Course, 2009, 70-431: Microsoft SQL Server 2005 Implementation and Maintenance, Wiley, ISBN: 9780470312278 Journals and/or Magazines Regasek Jovan. 2008. iweek. ITWeb Limited Library resources: We provide a variety of resources such as copies of recommended textbooks in the Library Resource Centre. In addition, there are computer work stations with Internet access for students who do not have their own computer in class. The Internet offers a wealth of information! It is therefore strongly advised that you make full use of these resources. There are also several public libraries (e.g. Bellville and Durbanville) in the Northern suburbs of Cape Town, which you could use for information gathering.
PROGRAMME : TERM...2... Session Date Period Room Theme 1 19 July 1-4 208 Install and Navigating SQL Server 2 20 July 5-8 208 Using SQL maintenance and security tools 1 21 July 1-4 208 Setup SQL Security, create user logins and set user credentials 2 22 July 5-8 208 System and User Databases 1 25 July 1-4 208 View and set location of Transaction Logs 2 26 July 5-8 208 Setup, configure and maintain SQL Automation 1 27 July 1-4 208 Set Data Locations and configure Data Storage 2 28 July 5-8 208 Perform Indexing and Full-Text Searching 1 29 July 1-4 208 Monitor and optimise SQL Server for availability 2 1 Aug 5-8 208 Working with different data types 1 2 Aug 1-4 208 Backup and Restore SQL Server Databases 2 3 Aug 5-8 208 Perform basic maintenance on a SQL Server and on SQL databases 1 4 Aug 1-4 208 Create basic Stored Procedures, View and Constraints 2 5 Aug 5-8 208 Test 1 1 10 Aug 1-4 208 Troubleshoot Microsoft SQL Server 2 11 Aug 5-8 208 Move Databases and data between different SQL Servers 1 12 Aug 1-8 208 Practical Labs 2 15 Aug 1-8 208 Practical Labs 1 16 Aug 1-8 208 Practical Labs 1-2 17 Aug 1-8 208 Practical Exam A 1 2 18 Aug 1-8 208 Practical Exam B 1 2 19 Aug 1-8 208 Practical Exam C 1 2 22 Aug 1-8 208 Practical Exam Feedback 1 2 23 Aug 1-8 208 Theory Exam (Red 8:30, Blue 10:30) 1 2 24 Aug 1-8 208 Practical Exam Rewrite 1 2 25 Aug 1-8 208 Practical Exam Rewrite 1 2 26 Aug 1-8 208 Theory Exam Rewrite (8:30 - everyone)