ExamVeda
Login
Home
31
Views can be used to show the results of computed columns.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
32
A benefit of using a stored procedure is that it can be distributed to client computers.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
33
A trigger is a stored program that is attached to a database.
Discuss
Answer & Solution
Answer: Option A
Solution:
The correct answer is Option A: True

Let's break down why:

What is a trigger? Imagine a trigger like a tiny program that's automatically activated when something specific happens in your database.

Stored Program: Triggers are essentially pre-written sets of SQL code. These SQL codes are stored within the database itself, waiting to be activated.

Attached to a Database: These stored program (Triggers) are linked to a particular table or the database and waits for the event to be happening.

Example: Think of it like this: You might set up a trigger to automatically update an "order history" table every time a new order is placed in the "orders" table. The "new order" event *triggers* the update.

So, because triggers are stored programs connected to a database that automatically execute in response to certain events, the statement is true.
34
A stored procedure is a program that performs some common action on database data and is stored in the database.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
35
A SQL view is a virtual table that is constructed from other tables or views.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
36
There are three SQL data modification operations: insert, modify and delete.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
37
SQL statements can be embedded in triggers, stored procedures, and program code.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
38
A view that contains a computed column can be easily updated.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
39
Three types of triggers are: BEFORE, AFTER and EXCEPTION.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board