Exam 8: SQL Functions and Procedures
Exam 1: Introduction to Premiere Products, Henry Books, and Alexamara Marina Group75 Questions
Exam 2: Database Design Fundamentals75 Questions
Exam 3: Creating Tables75 Questions
Exam 4: Single-Table Queries75 Questions
Exam 5: Multiple-Table Queries75 Questions
Exam 6: Updating Data75 Questions
Exam 7: Database Administration75 Questions
Exam 8: SQL Functions and Procedures75 Questions
Select questions type
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:
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:
False
To call a procedure in SQL Server, use the ____ command.
Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)