Exam 8: SQL Functions and Procedures

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

When you use a cursor, the ____________________ command opens the cursor and causes the query to be executed, making the results available to the procedure.

Free
(Short Answer)
4.8/5
(36)
Correct Answer:
Verified

OPEN

When you anticipate running a particular query often, you can improve overall performance by saving the query in a file called a routine.

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

False

To call a procedure in SQL Server, use the ____ command.

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

D

In SQL Server, the cursor property ____________________ means that the cursor is used for retrieval purposes only.

(Short Answer)
4.8/5
(47)

DBMS_OUTPUT is a package that contains multiple procedures, including PUT_LINE.

(True/False)
4.9/5
(43)

A procedure that updates data is called a(n) ____________________ procedure.

(Short Answer)
4.8/5
(38)

A(n) ____ is a procedure that is executed automatically in response to an associated database operation.

(Multiple Choice)
4.9/5
(31)

In the function UPPER(LAST_NAME), the item in parentheses (LAST_NAME) is called the ____________________ for the function.

(Short Answer)
4.9/5
(44)

Each procedure that you create in Oracle should end with a(n) ____________________.

(Short Answer)
4.9/5
(39)

PL/SQL can process only one record at a time.

(True/False)
4.7/5
(38)

In Access, use the & symbol to concatenate columns.

(True/False)
4.9/5
(33)

A(n) ____________________ is a procedure that is executed automatically in response to an associated database operation, such as an INSERT, UPDATE, or DELETE command.

(Short Answer)
4.9/5
(46)

A(n) ____ is a pointer to a row in the collection of rows retrieved by an SQL command.

(Multiple Choice)
4.8/5
(40)

In PL/SQL, you can ensure that a variable has the same data type as a particular column by using the ____ attribute.

(Multiple Choice)
4.9/5
(37)

PL/SQL, which was developed by Oracle as an extension of SQL, is an example of a procedural language.

(True/False)
4.8/5
(33)

In Oracle, to add a specific number of months to a date, use the ____ function.

(Multiple Choice)
4.9/5
(43)

In Oracle, you can use the ____ function to obtain today's date.

(Multiple Choice)
4.9/5
(40)

In Oracle, SQL Server, and Microsoft Access, use the ____ function to round a numeric value to a desired number of decimal places.

(Multiple Choice)
4.7/5
(34)

In Oracle and SQL Server, the ____ function displays a value in lowercase letters.

(Multiple Choice)
4.9/5
(35)

To handle processing of errors, include an ABORT clause in a stored procedure.

(True/False)
4.8/5
(33)
Showing 1 - 20 of 75
close modal

Filters

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