Exam 6: Procedural Language Sql and Advanced Sql

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

The ____ data type is considered compatible with VARCHAR(35).

Free
(Multiple Choice)
5.0/5
(32)
Correct Answer:
Verified

D

A(n) ____________________ view is a view that can be used to update attributes in the base table(s) that are used in the view.

Free
(Short Answer)
5.0/5
(33)
Correct Answer:
Verified

updatable

SQL supports the conditional execution of procedures (if...then...else statements) that are typically supported by a programming language.

Free
(True/False)
4.9/5
(33)
Correct Answer:
Verified

False

____________________ functions allow you to take a value of a given data type and convert it to the equivalent value in another data type.

(Short Answer)
4.8/5
(40)

A(n) ____________________ query can be used to produce a relation that retains the duplicate rows.

(Short Answer)
4.8/5
(35)

A stored function is another name for a stored procedure.

(True/False)
4.8/5
(33)

A ____ join returns rows with matching values and includes all rows from both tables (T1 and T2) with unmatched values.

(Multiple Choice)
5.0/5
(32)

In subquery terminology, the first query in the SQL statement is known as the ____ query.

(Multiple Choice)
4.8/5
(39)

When using a subquery, the output of a(n) ____________________ query is used as the input for the outer query.

(Short Answer)
4.8/5
(44)

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

(Short Answer)
4.8/5
(29)

Assume you are using the INTERSECT operator to combine the results from two tables with identical structure, CUSTOMER and CUSTOMER_2. The CUSTOMER table contains 10 rows, while the CUSTOMER_2 table contains 7 rows. Customers Dunne and Olowski are included in the CUSTOMER table as well as in the CUSTOMER_2 table. How many records are returned when using the INTERSECT operator?

(Multiple Choice)
4.9/5
(30)

The PL/SQL block starts with the ____ clause.

(Multiple Choice)
4.8/5
(32)

A stored function uses the ____ statement to return a value.

(Multiple Choice)
4.7/5
(46)

The ____________________ function compares an attribute or expression with a series of values and returns an associated value or a default value if no match is found.

(Short Answer)
4.9/5
(32)

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)
4.8/5
(33)

In an Oracle sequence, the ____________________ pseudo-column retrieves the current value of a sequence.

(Short Answer)
4.9/5
(40)

A(n) ____________________ join performs a relational product (also known as the Cartesian product) of two tables.

(Short Answer)
4.8/5
(41)

Stored procedures are executed using the EXEC command.

(True/False)
5.0/5
(36)

The ____________________ outer join returns not only the rows matching the join condition (that is, rows with matching values in the common column), but also the rows in the left-side table with unmatched values in the right-side table.

(Short Answer)
4.8/5
(34)

Cursors are held in a reserved memory area in the client computer.

(True/False)
4.8/5
(40)
Showing 1 - 20 of 100
close modal

Filters

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