wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Unit-V-Trigger-II-Q & A

Total questions: 9

Worksheet time: 3mins

Name
Class
Date
1.

Choose the correct syntax for Triggers

a)

b)

c)

d)

2.

keyword ________ is optional, and we should only use it to modify a trigger.

a)

INSTEAD

b)

CREATE

c)

REPLACE

d)

BEFORE

3.

_______________ is fired before execution of a DML statement.

a)

CREATE

b)

BEFORE

c)

AFTER

d)

INSTEAD

4.

An _________ trigger is used to modify a table that cannot be modified through a view.

a)

BEFORE OF

b)

AFTER OF

c)

REPLACE OF

d)

INSTEAD OF

5.

Triggers can be defined on the_____?

a)

table

b)

view

c)

schema

d)

All of the choice mentioned

6.

Which of the following specifies when the trigger will be executed?

a)

BEFORE

b)

AFTER

c)

INSTEAD OF

d)

All of the above

7.

The default extension for an Oracle SQL*Plus file is:

a)

.txt

b)

.html

c)

.css

d)

.sql

8.

Trigger is special type of __________ procedure.

a)

Function

b)

Stored

c)

View

d)

Table

9.

Point out the wrong statement.

a)

We can have an INSTEAD OF insert/update/delete trigger on a table that successfully executed

b)

DML Triggers are used to evaluate data after data manipulation using DML statements

c)

INSTEAD OF triggers cause their source DML operation to skip

d)

AFTER triggers cause their source DML operation to skip