Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

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


A) indexed
B) core
C) relation
D) base

E) None of the above
F) All of the above

Correct Answer

verifed

verified

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


A) ROWCOUNT
B) BACKUP
C) COMMIT
D) ROLLBACK

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

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


A) base
B) static
C) host
D) view

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) asterisks
B) commas
C) quotations
D) parentheses

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

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.

A) True
B) False

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

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


A) NOT NULL
B) CASCADE
C) UNIQUE
D) DEFAULT

E) A) and C)
F) A) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) CURRVAL
B) NEXTVAL
C) NEXT
D) GET_NEXT

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

An explicit cursor must return two or more rows.

A) True
B) False

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) UNIQUE
B) CASCADE
C) CHECK
D) SET NULL

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

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 _____.


A) batch updating
B) referential integrity
C) authentication
D) cross joining  

E) B) and D)
F) None of the above

Correct Answer

verifed

verified

How are triggers critical to proper database operation and management?

Correct Answer

verifed

verified

- Triggers can be used to enforce constr...

View Answer

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

Showing 21 - 40 of 75

Related Exams

Show Answer