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 to report output like below supplier name date amount abc software jan/11 10000 /* jan month total transactions*/ abc software feb/12 30000 /* feb month total transactions*/ dell computers jan/13 45000 /* jan month total transactions*/
What is FORWARD DECLARATION in Packages?
6 Answers British Telecom BT, HCL, Tech Mahindra,
can we use commit in trigger? If yes how?
AOL?
i have 100 pages output. i want to print 10 records per page in Template?
What is menu.
what are the different transaction clauses in AR?
What multi org tables . example - difference between app table non all table . Po_header and po_headers_all
hi gurus my name is ramesh i was completed orcale apps technical trainning i wnt to put 3+yrs experience is it correct r not ,if any freshers jobs are available in market pls suggest me. my mail id rameshmcaou@gmail.com and contact no is 9000342411
How can u populate data into po_headers_all segment2 column?
What is GLOBAL TEMPORARY TABLE and It's significance ?
how can we return morethan one parameters in procedure?