Filters
Question type

Study Flashcards

Which SQL format would be best used for a small, numeric data type?


A) INTEGER
B) SMALLINT
C) NUMERIC(L,D)
D) CHAR(L)

Correct Answer

verifed

verified

_____ is a cursor attribute that returns TRUE if the last FETCH returned a row, and FALSE if not.


A) %ROWCOUNT
B) %NOTFOUND
C) %FOUND
D) %ISOPEN

Correct Answer

verifed

verified

Triggers can only be used to update table values.

Correct Answer

verifed

verified

Stored procedures must have at least one argument.

Correct Answer

verifed

verified

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


A) DROP
B) DELETE
C) MODIFY
D) ERASE

Correct Answer

verifed

verified

Using Oracle _____, a designer can write a PL/SQL code block by enclosing the commands inside BEGIN and END clauses.

Correct Answer

verifed

verified

In Oracle, _____ make(s) it possible to merge SQL and traditional programming constructs, such as variables, conditional processing (IF-THEN-ELSE) , basic loops (FOR and WHILE loops,) and error trapping.


A) dynamic SQL
B) stored procedures
C) embedded SQL
D) Procedural Language SQL

Correct Answer

verifed

verified

If a user adds a new column to a table that already has rows, the existing rows will default to a value of _____ for the new column.

Correct Answer

verifed

verified

The CREATE TABLE command lets you define constraints when you use the CONSTRAINT keyword, known as a(n) _____ constraint.


A) column
B) table
C) index
D) cell

Correct Answer

verifed

verified

A(n) _____ is a logical group of database objects, such as tables and indexes, that are related to each other.

Correct Answer

verifed

verified

In a 1:M relationship, a user must always create the table for the "_____" side first.

Correct Answer

verifed

verified

The Oracle string concatenation function is _____.


A) CONCAT
B) +
C) ||
D) &&

Correct Answer

verifed

verified

A(n) _____ routine pools multiple transactions into a single batch to update a master table field in a single operation.

Correct Answer

verifed

verified

A row-level trigger is assumed if we omit the FOR EACH ROW keywords and a statement-level trigger required the use of the FOR EACH ROW keyword.

Correct Answer

verifed

verified

Every PL/SQL block must be given a name.

Correct Answer

verifed

verified

Showing 61 - 75 of 75

Related Exams

Show Answer