Database Fundamentals/Stored Procedures

< Database Fundamentals

This lesson introduces stored procedures.

Objectives and Skills

Objectives and skills for the stored procedures portion of Microsoft Exam 98-364 Database Fundamentals include:[1]

Readings

  1. Read Wikipedia: Stored procedure.

Multimedia

  1. Watch Microsoft Virtual Academy: Creating Databases and Database Objects.
  2. Watch YouTube: SQL Stored Procedures.
  3. Watch YouTube: SQL Server Programming Part 1 - Stored Procedure Basics .
  4. Watch YouTube: Stored procedures in sql server Part 18 .

Activities

  1. Use SQL Server to create stored procedures to update record information in the Student table in your College database.
  2. Create the following stored procedures:
    • Apply the INSERT statement in a stored procedure to insert a new record into the Student table.
    • Apply the UPDATE statement in a stored procedure to update the first name field in the previous step in the Student table.
    • Apply the DELETE statement in a stored procedure to remove the record that you just added in the Student table.

Lesson Summary

Key Terms

SQL injection
stored procedure

See Also

References

This article is issued from Wikiversity - version of the Thursday, March 10, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.