Exam 8: Advanced Sql

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A row-level trigger requires use of the _____ keywords and is executed once for each row affected by the triggering statement.

(Short Answer)
4.9/5
(40)

A table can be deleted from the database by using the _____ command.

(Short Answer)
4.9/5
(33)

The_____ constraint assigns a value to an attribute when a new row is added to a table.

(Multiple Choice)
4.8/5
(43)

A common practice is to create a(n) _____ on any field that is used as a search key, in comparison operations in a conditional expression, or when a user wants to list rows in a specific order.

(Short Answer)
4.8/5
(34)

SQL supports the conditional execution of procedures (IF-THEN-ELSE statements) that are typically supported by a programming language.

(True/False)
4.9/5
(34)

U.S. state abbreviations are always two characters, so _____(2) is a logical choice for the data type representing a state column.

(Short Answer)
4.9/5
(38)

To remedy the lack of procedural functionality in SQL, and to provide some standardization within the many vendor offerings, the SQL-99 standard defined the use of persistent stored modules.

(True/False)
5.0/5
(44)

The _____ command is used to restore the database to its previous condition.

(Multiple Choice)
4.9/5
(44)

BEFORE means before the changes are made in memory but after the changes are permanently saved to disk.

(True/False)
4.7/5
(37)

No matter what language you use, if it contains embedded SQL statements, it is called the _____ language.

(Multiple Choice)
4.9/5
(40)

When writing SQL table-creating command sequences, the entire table definition is enclosed in _____.

(Multiple Choice)
5.0/5
(40)

Automating business procedures and automatically maintaining data integrity and consistency are trivial in a modern business environment.

(True/False)
4.8/5
(27)

An explicit cursor must return two or more rows.

(True/False)
4.8/5
(41)

The _____ constraint is used to validate data when an attribute value is entered.

(Multiple Choice)
4.7/5
(38)

A trigger is procedural SQL code that is automatically invoked by the RDBMS upon the occurrence of a given data manipulation event.

(True/False)
4.9/5
(40)

_____is the process the DBMS uses to verify that only registered users access the database.

(Short Answer)
4.9/5
(41)

The tables on whicha view, or a virtual tablederived froma SELECT query, are based are called _____tables.

(Multiple Choice)
4.9/5
(32)

You cannot have an invalid entry in the foreign key column; at the same time, you cannot delete a vendor row as long as a product row references that vendor. This isknown as _____.

(Multiple Choice)
4.8/5
(35)

The _____ pseudo-column is used to select the next value from a sequence.

(Multiple Choice)
4.8/5
(41)

How are triggers critical to proper database operation and management?

(Essay)
4.7/5
(45)
Showing 21 - 40 of 75
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)