Filters
Question type

Study Flashcards

The PL/SQL block starts with the _____ section.


A) IS
B) OPEN
C) DECLARE
D) BEGIN

Correct Answer

verifed

verified

To make the SQL code more _____, most SQL programmers use one line per column (attribute) definition.

Correct Answer

verifed

verified

The DECLARE section in the trigger is used to declare any variables used inside the trigger code.

Correct Answer

verifed

verified

One of the major advantages of stored procedures is that they can be used to encapsulate and represent business transactions.

Correct Answer

verifed

verified

Just like database triggers, stored procedures are stored in the database.

Correct Answer

verifed

verified

A _____ is a block of code containing standard SQL statements and procedural extensions that is stored and executed at the DBMS server.


A) cursor-style process
B) statement-level trigger
C) base table
D) persistent storage module (PSM)

Correct Answer

verifed

verified

A(n) _____ cursor is automatically created in procedural SQL when the SQL statement returns only one value.


A) implicit
B) dynamic
C) explicit
D) static

Correct Answer

verifed

verified

A sequence is not associated with a table and can be dropped from a database with a DROP SEQUENCE command.

Correct Answer

verifed

verified

The Oracle equivalent to an MS Access AutoNumber is a(n) _____.


A) auto-number
B) sequence
C) TO_NUMBER function
D) trigger

Correct Answer

verifed

verified

Which command is used to save changes to the database? What is the syntax for this command?

Correct Answer

verifed

verified

Any changes made to the table contents a...

View Answer

In an INSERT command, a user can indicate just the attributes that have required values by listing the _____ inside parentheses after the table name.

Correct Answer

verifed

verified

Oracle recommends _____ for creating audit logs.


A) triggers
B) stored procedures
C) stored functions
D) tables

Correct Answer

verifed

verified

When you create a new database, the RDBMS automatically creates the data_____ tables in which to store the metadata and creates a default database administrator.


A) index
B) chapter
C) dictionary
D) appendix

Correct Answer

verifed

verified

To delete an index, one must use the _____ command.

Correct Answer

verifed

verified

A statement-level trigger is assumed if a designer omits the FOR EACH ROW keywords.

Correct Answer

verifed

verified

If the NOT NULL and UNIQUE specifications are not supported when using a command sequence, use _____ without the specifications.

Correct Answer

verifed

verified

Using the _____ command, SQL indexes can be created on the basis of any selected attribute.


A) CREATE INDEX
B) UPDATE CASCADE
C) SELECT
D) VARCHAR

Correct Answer

verifed

verified

A persistent stored module is stored and executed on the database client machine.

Correct Answer

verifed

verified

SQL requires the use of the _____ command to enter data into a table.


A) INSERT
B) SELECT
C) COMMIT
D) NOT NULL

Correct Answer

verifed

verified

In MS Access, a designer can use the _____ data type to define a column in his table that will be automatically populated with unique numeric values.

Correct Answer

verifed

verified

Showing 41 - 60 of 75

Related Exams

Show Answer