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 |
WHAT IS THE VIEW IN ORACLE APPS?HOW IS IT CREATED?
what are the mandatory parameters in suppler Conversion?
In support project one ticket alloted which steps follows manualy tell me ?
what is meant by lexical parameter
wht is the use of Xml reports over reports6i?
how can i print random rows in plsql table
PL/SQL stored procedure parameters?
what are version control tools used in oracle apps?
What is MO operating units. Why it need to to set this and where .
What is template?
what is the diff between custom.pll and form personalization? Tell me one example?
why r u move in the cus_top only why not move another top