RelationalDBDesign
SiteMap
PL/SQL
Stored Objects
PL/SQL Programming
PL/SQL Parameters
«Prev
Next»
PL/SQL Objects
User Defined Functions
Correct Syntax Function
Syntax of Function
Stored Function
Function Returning Value
Returning Boolean Value
Function Syntax Returning Boolean
PL/SQL Blocks Conclusion
Create Function
Create Procedure
Oracle Function Procedure
Procedure Percentage Average
Procedures Calling Functions
Adding Procedure Function
Functions Procedures C onclusion
Intro Database Trigger
What is a Trigger?
Trigger Procedure Distinction
Special Trigger Variables
Insert Update Delete
Combination Insert, Update, Delete
Database Triggers Conclusion
Using Parameters
PL/SQL Parameter Uses
Sending Parameters SQL*Plus
PL/SQL Parameter Usage
Parameter Procedure Placement
Return Command Function
PL/SQL Cursor Parameters
SQL*Plus Conclusion
Create Oracle Package
What is a Package?
How Packages are Used
Making Package Specification
Making Package Body
Executing Package Components
Package Conclusion
Controlling Transactions
SQL Plus Parameter Concepts - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
Which of these commands correctly starts SQL*Plus with two parameters?
Please select the best answer.
A.
SQLPLUS PETSTORE/GREATPETS @RATINGS "Betty Grabel" 1996
B.
SQLPLUS SYSTEM/MANAGER @JOEY West Side Story FILM
C.
SQLPLUS SCOTT/TIGER @DISH 01-JUL-99 Health Food is better for you.
D.
SQLPLUS SYSTEM/MANAGER @MAKEUSER user148/pwd200
2.
Consider the following SQL*Plus script. Assume that PO_BOX_NO is of NUMBER datatype and LAST_PAY_DATE is of DATE datatype. The script is named SMART.SQL.
Please select the best answer.
A.
Which of the following commands will successfully execute the script?
B.
RUN SMART.SQL 100 11/05/00
C.
START SMART.SQL 10B 01-JUN-99
D.
SQLPLUS SCOTT/TIGER @SMART.SQL 01-JAN-00 1105
E.
START SMART.SQL 159 "11/08/1999"
3.
Which of the following statements is true regarding a PL/SQL parameter?
Please select all the correct answers.
A.
The parameter can be named by the procedure that uses it.
B.
The parameter is always character datatype
C.
The parameter can return a value to the calling application
D.
The parameter can be almost any datatype