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
(80)

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

(Short Answer)
4.9/5
(80)

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

(Multiple Choice)
4.8/5
(91)

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
(68)

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

(True/False)
4.9/5
(72)

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
(92)

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
(89)

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

(Multiple Choice)
4.9/5
(84)

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

(True/False)
4.7/5
(81)

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

(Multiple Choice)
4.9/5
(82)

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

(Multiple Choice)
5.0/5
(84)

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

(True/False)
4.9/5
(75)

An explicit cursor must return two or more rows.

(True/False)
4.8/5
(87)

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

(Multiple Choice)
4.7/5
(76)

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
(74)

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

(Short Answer)
4.9/5
(82)

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

(Multiple Choice)
4.9/5
(70)

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
(79)

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

(Multiple Choice)
4.8/5
(78)

How are triggers critical to proper database operation and management?

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

Filters

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