The course is composed of a number of lectures, projects and exams.
The three lectures bring up the contents which is included in the course: MS SQL Server 2005, relational database design, database structure, SQL DML, SQL DDL, built-in functions, dynamic SQL, flow control, error handling, variables, cursors, procedures, functions and triggers.
The two projects bring up practical tasks within the contents of the course.
The three exams bring up theoretical tasks within the contents of the course split up into three parts.
The overall aim of the course is to provide an understanding of how programming with T-SQL can be used to build up application logic in a MS SQL Server 2005 database.
To pass, the student shall be able to do the following after a completed course:
- Describe how a relational database works.
- Describe the concepts table, column, primary key, foreign key, constraint, data type and view.
- Describe what a MS SQL Server 2005 database is composed of.
- Use SQL DDL commands to on a very basic level create and edit a MS SQL Server 2005 database.
- Use SQL DML commands to select, update and delete data in a MS SQL Server 2005 database.
- Use built-in functions and dynamic SQL in a MS SQL Server 2005 database.
- Use T-SQL to build procedures, functions and triggers with variables, cursors, flow control and error management in MS SQL Server 2005.
For a higher grade, the student shall be able to do the following after a completed course:
- Give a thorough description of how SQL DML-commands can be used to manage data in a MS SQL Server 2005 database.
- Give a thorough description of how built-in functions can be used to simplify and improve T-SQL commands in a MS SQL Server 2005 database.
- Give a thorough description of how T-SQL can be used to build advanced application logic in a MS SQL Server 2005 database.