Search Header Logo

Stored Routines & Triggers

Authored by Frank Neubüser

Computers

2nd Grade

Used 5+ times

Stored Routines & Triggers
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Stored Procedure is a

Sequence of SQL statements to perform specific function

Stored in (pre-)compiled form in the database

Can be called from all client environments

All the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the benefits of Stored Procedures?

Reduced Traffic

Easy Maintenance

Reusability & Stronger Security

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of using triggers in a database?

To improve performance

All of the above

To enhance security

To automate tasks

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a characteristic of a function in SQL?

Can return a value

All of the above

Cannot modify database state

Can be used in SQL expressions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the three parameter modes for procedures?

IN, OUT, INOUT

Read, Write, Append

CONSTANT, VARIABLE, DEFAULT

COPY, NO COPY, REF

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

An SQL trigger provides the ability to _____ and _____ (to) data change events.

(CHOOSE TWO OPTIONS)

Ignore, Delete

Log, Audit

Recognize, React

None of these. SQL triggers are not related to external events.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can a COMMIT statement be executed as a part of trigger?

Yes.

No.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?