what is pl/sql table and pl/sql records? what is the use of
that?
Answers were Sorted based on User's Feedback
Answer / srinivasa reddy k
Pl/Sql table comes under collections.
Pl/Sql table ,Pl/Sql datatypes comes under User Defined
Datatypes.
Pl/Sql table is used for storing and processing the values
in a Pl/Sql procedures.
Pl/Sql records are used to hold the row structed values
we can use pl/ql records with pl/sql tables to form a table
like structed to hold the values in a Pl/Sql program.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vans
The usage of plsql table and plsql records is high
performance.It enhance the performance.
Rather than using the cursor variable we can make use of
plsql records which is less time consuming.
For ex:
CURSOR emp_cur IS
SELECT trunc(sysdate) AS hire_date
,202 AS business_group_id
,'Raz' AS last_name
,'M' AS SEX
,13 AS person_type_id
,'Test Employee Creation3' AS per_comments
from dual;
TYPE tab_emp IS TABLE OF emp_cur%rowtype INDEX BY
BINARY_INTEGER;
emp_rec tab_emp;
The rest of the information is being provided by Srinivasa
Reddy
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mohan kumar
PL\SQL RECORD IS A COLLECTION OF FIELD WITH DIFFERENT DATA TYPES
PL\SQL TABLE IS A COLLECTION OF DATAS,STORED IN ROWS AND COLUMNS
| Is This Answer Correct ? | 0 Yes | 1 No |
How You Will display the key flexifields in your report
what are the mandatory parameters in suppler Conversion?
What is FORWARD DECLARATION in Packages?
6 Answers British Telecom BT, HCL, Tech Mahindra,
How do u customize the Reports?
Is soa a part of oracle fusion middleware?
How do u identity its name of report?
When loading data from staging table to interface table , how to reload the invalid record once again ?
how to initialize applications?
What is the difference between base table and multi-org table?
WHAT IS USE OF APPS API?
In oracle application how do you debug or trace errors?
What do you understand by soa?