Basics of Transact SQL with SQL Server R2 (50439)
Request a Quote for this class
About this Course
This instructor-led course provides students with the necessary knowledge to work with the data in SQL Server 2008R2. They will learn how to use the built in tools included with SQL Serverto construct queries, do tuning,analyze a query and it’s performance along with how to modify existing data, perform joins, create indexes and work with XML.The new features are discussed and their impact is explained.
Audience Profile
This course is intended for Power Users and IT Professionals that are called on to work with SQL Server in the retrieving, or modifying of data and need a good foundation to perform those functions. This would include those users that develop reports and need to create Data Sets that work efficiently.
At Course Completion
After completing this course, students will be able to:
- Use SQL Server Management Studio (SSMS)
- Use SSMS to generate efficient queries
- Use the Object Browser in SSMS to locate objects and view their dependencies so you know the potential effect of a change.
- Use the Template manager in SSMS to quickly import correctly formatted code that was prewritten by the SQL community
- Customize the SSMS environment to match the users individual needs
- Run a trace in SQL Profiler to analyze performance of operations
- Use the debugger with a query to troubleshoot it
- Work with SQL Server Integration Services to do a basic package for import/export, how to save it and automatically execute it.
- Use the Database Tuning Advisor for faster queries
- Read an SSMS Execution Plan and understand it and learn why you need to understand it.
- Explain and perform single table queries and the proper method to develop them
- Perform various joins between tables to reunite data stored separately such as an order and its details, or a salesperson and their sales and the product in the sale.
- Understand indexing and its impact on speed of retrieval of data and when to not use it.
- Write code within the context of a transaction to prevent data corruption
- Utilize Try-Catch error handling and learn why to use it
- Use Stored Procedures to access data and understand the improved security of using them and how easy they are to create via the community templates in SSMS.
- Explain the new language features and how they improve the data environment and reporting
- Write a sub-query as an advanced technique
- Use common table expressions in a query
- Work with the XML datatype and the new methods especially for XML.
Prerequisites
Before attending this course, students should have:
- A working knowledge of databases but not necessarily Microsoft SQL.