Home > Interview Question
and Answer > Oracle > Oracle Package Procedure
and Function
Interview Questions and Answers for Oracle Package Procedure and Function
Oracle Package Procedure and Function Interview Questions and Answers includes,
Package Procedure Restricted package procedure, Unrestricted package procedure,
SYNCHRONIZE procedure, ERASE package procedure, difference between NAME_IN and COPY,
How the command POST does differ from COMMIT, DEBUG mode, global variables, SYSTEM
VARIABLES
Oracle Package Procedure and Function Interview Questions and Answers
1. What is a Package Procedure?
A Package procedure is built in PL/SQL procedure.
2. What are the different types of Package Procedure?
- Restricted package procedure.
- Unrestricted package procedure.
3. What is the difference between restricted and unrestricted package procedure?
- Restricted package procedure that affects the basic basic functions of SQL * Forms.
It cannot use in all triggers except key triggers.
- Unrestricted package procedure that does not interfere with the basic functions
of SQL * Forms it can be used in any triggers.
4. Classify the restricted and unrestricted procedure from the following.
- Call - unrestricted
- User Exit - Unrestricted
- Call_query - Unrestricted
- Up - Restricted
- Execute Query - Restricted
- Message - Restricted
- Exit_form - Restricted
- Post - Restricted
- Break - Unrestricted.
5. Can we use a restricted package procedure in ON-VALIDATE-FIELD Trigger?
No.
6. What SYNCHRONIZE procedure does?
It synchoronizes the terminal screen with the internal state of the form.
7. What are the unrestricted procedures used to change the popup screen position
during run time?
- Anchor-view
- Resize -View
- Move-View
8. What Enter package procedure does?
Enter Validate-data in the current validation unit.
9. What ERASE package procedure does?
Erase removes an indicated global variable.
10. What is the difference between NAME_IN and COPY?
- Copy is package procedure and writes values into a field.
- Name in is a package function and returns the contents of the variable to which
you apply.
11. Identify package function from the following?
- Error-Code -- package function
- Break
- Call
- Error-text -- package function
- Form-failure -- package function
- Form-fatal -- package function
- Execute-query
- Anchor_View
- Message_code -- package function
12. How the command POST does differ from COMMIT?
Post writes data in the form to the database but does not perform database commit.
Commit permenently writes data in the form to the database.
13. What the PAUSE package procedure does?
Pause suspends processing until the operator presses a function key
14. What package procedure is used for calling another form?
Call (E.g. Call (formname)
15. What package procedure used for invoke sql *plus from sql *forms?
Host (E.g. Host (sqlplus))
16. Error_Code is a package proecdure?
False
17. EXIT_FORM is a restricted package procedure?
True
18. When the form is running in DEBUG mode, If you want to examine the values
of global variables and other form variables, What package procedure command you
would use in your trigger text?
Break
19. List the system variables related in Block and Field?
- System.block_status
- System.current_block
- System.current_field
- System.current_value
- System.cursor_block
- System.cursor_field
- System.field_status
20. What is the difference between system.current_field and system.cursor_field?
- System.current_field gives name of the field.
- System.cursor_field gives name of the field with block name.
21. The value recorded in system.last_record variable is of type
- Number
- Boolean
- Character
- Boolean
22. What is a User Exits?
A user exit is a subroutine which are written in programming languages using pro*C
pro *COBOL, etc., that link into the SQL * forms executable.
23. How can a button be used in a report to give a drill down facility?
By setting the action asscoiated with button to Execute pl/sql option and using
the SRW.Run_report function.
24. What are the two ways by which data can be generated for a parameter's list
of values?
- Using static values.
- Writing select statement.
25. What are the two panes that Appear in the design time pl/sql interpreter?
Source pane and Interpreter pane
26. What are three panes that appear in the run time pl/sql interpreter?
Source pane, interpreter pane and Navigator pane.
Go Back to Oracle Interview Qusetion and Answers
More Oracle Database, DBA, Forms and Reports Interview Question and Answers
- Oracle Database Administration
Interview Questions and Answers
-
Oracle Cross Products and Matrix Reports Interview Questions and Answers
-
Oracle Managing Distributed Databases Interview Questions and Answers
- Oracle Forms Interview Questions
and Answers
- Oracle Database
Security Interview Questions and Answers
-
Oracle Database Operation Backup and Recovery Interview Questions and Answers
-
Oracle Database Security and Administration Interview Questions and Answers
- Oracle Data Access
Interview Questions and Answers
- Oracle Report
Triggers Interview Questions and Answers
- Oracle
Managing Backup and Recovery Interview Questions and Answers
- Forms 3.0, 4.0
Basic Interview Questions and Answers
-
Oracle Package Procedure and Function Interview Questions and Answers
- Oracle System
Architecture Interview Questions and Answers
- Oracle SQL
Plus Statements Interview Questions and Answers
-
Oracle Logical and Physical Architecture of Database Interview Questions and Answers
- Oracle Basics
of Pl SQL Interview Questions and Answers
- Oracle Reports Interview
Questions and Answers
- Oracle
Concepts and Architecture Interview Questions and Answers
- Oracle Forms D2K 4.5
and 6i Interview Questions and Answers
Home > Interview Question
and Answer > Oracle > Oracle Package Procedure
and Function