|
|
1-800-THE-TREE (1-800-843-8733)
|
|
|
 |
|
SQL Server Transact-SQL Programming: Hands-On
Course: 532
Type: Hands-On Training
Duration: 4 Days
You Will Learn How To
- Develop database applications for SQL Server databases with Transact-SQL
- Create modular code using stored procedures
- Develop reusable code with scalar and table valued functions
- Handle Transact-SQL runtime errors to create robust software
- Audit data changes using AFTER triggers
- Manage concurrency using transactions and locking options
Course Benefits Transact-SQL is integral to the power of SQL Server. Transact-SQL features allow developers to create scalable, distributed applications to meet the demanding requirements of modern organizations. This course provides extensive experience creating stored procedures and triggers, and developing T-SQL that utilizes SQL Server to the fullest.Who Should Attend Database developers, administrators and analysts who want to expand their knowledge of SQL Server 2005 or 2008. Experience with SQL Server at the level of Course 131, "SQL Server 2005 Comprehensive Introduction," or Course 137, "SQL Server 2008 Comprehensive Introduction," is assumed.Hands-On Training A series of hands-on exercises provides immediate experience in Transact-SQL development, including:
- Adding a column to a database table using ALTER TABLE
- Passing data into a stored procedure using parameters
- Modifying data in a transaction
- Intercepting errors with TRY...CATCH
- Calling a user-defined function in a SQL statement
- Writing triggers to carry out advanced validation
- Tracing metadata changes with DDL triggers
Course 532 Content
- SQL Server edition overview
- Introducing the tools
- SQL Server Management Studio
- Managing schemas
- Referencing schemas versus using the default schema
- Hiding schemas with synonyms
- Selecting appropriate SQL Server data types
- Constructing tables with CREATE TABLE
- Enforcing uniqueness using PRIMARY KEY and UNIQUE constraints
- Validating relationships using FOREIGN KEY
- Minimizing network traffic using batches and procedures
- Stored procedure compilation and execution
- Using scalar and aggregate functions
- Developing stored procedures that extract data from multiple servers
- Executing dynamic queries using OPENROWSET and OPENQUERY
- Developing recursive queries with common table expressions (CTE)
- Executing remote procedures
- Producing cross tabulations using PIVOT
- Creating and utilizing local variables
- Passing input and output parameters
- Interrogating global variables
- Converting data using CAST and CONVERT
- Ordering data with ranking functions
- Inserting, updating and deleting data
- Ensuring data consistency with transactions and distributed transactions
- Managing concurrency with isolation levels
- SQL Server locking fundamentals
- Avoiding blocking problems with read-committed snapshot isolation
- Managing locks using hints
- Implementing conditions with IF...ELSE
- Looping with WHILE and GOTO
- Creating code blocks with BEGIN...END
- Debugging with PRINT
- Returning data using RETURN
- Debugging T-SQL in Visual Studio
- Communicating problems to the client with RAISERROR
- Intercepting errors with TRY...CATCH
- Dealing with open transactions when an exception occurs
- Building and using temporary tables
- Processing rows on the server with a cursor
- Taking advantage of table variables
- Concealing complexity with views
- Solving business problems using multistatement table-valued functions
- Calculating values with scalar functions
- Processing multiple rows returned from a table-valued function
- Taking advantage of schema binding
- INSTEAD OF vs. AFTER triggers
- Detecting row changes using the inserted and deleted tables
- Tracing metadata changes with DDL triggers
- Auditing user access using a LOGON trigger
- Tracking data changes with the OUTPUT clause
|
Transact-SQL is a trademark of Sybase, Inc.
|
|
|
|
 |
|
|