SQL: Stored Procedures


Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

Examine the following code. What is the function of the @productName?

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. Which keyword is used to create a variable in a stored procedure?

2. Examine the following code. What will the value of the field updateValue be if the order number exists?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

Answer questions on SQL stored procedures with this worksheet and quiz. Topics on the quiz include the @ symbol and a keyword used to create a variable.

Quiz & Worksheet Goals

The worksheet/quiz will test you on the following:

  • Value of the field updateValue in a given example
  • Statements used for rolling back transactions
  • Finding the variable in given code

Skills Practiced

  • Reading comprehension - ensure that you draw the most important information from the related lesson on SQL stored procedures
  • Making connections - use understanding of the concept of writing code to recognize the use of keywords and variables
  • Information recall - access the knowledge you've gained regarding statements associated with the rollback of transactions

Additional Learning

Read more about the subject via the lesson called SQL: Stored Procedures, which will help you to study the following areas of focus:

  • What stored procedures are
  • Syntax in stored procedures
  • Conditional logic