what is pl/sql table and pl/sql records? what is the use of
that?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many schemas we have? how many you have used?

1608


what is pay run id ?

1706


What are the different components of soa suite?

721


what are the balancing segments in AR?

1647


Do you know what are user profiles in apps. Any examples you can give?

660






Can you explain the difference between architecture followed in 10g & 11g?

654


List the various types of value set.

620


In sequence i want to 11 and 15th values how we will write?

1568


What are do's and dont's of Interface?

1903


What do you understand by a set of books?

643


What is instead of trigger in where we will use?

674


WHAT IS CUSTOM VIEW AND CUSTOM COMPONENT?

2591


What are the Standard Reports and Forms in HRMS?

1770


What is sca and how is it useful?

656


Can u give the Documentation of Custom.pll in oracle apps

2993