GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  PL/SQL
Go To First  |  Previous Question  |  Next Question 
 PL/SQL  |  Question 55 of 168    Print  
1.what is difference between pl/sql table and records?
2. what is the advantages of pl/sql table?
3. what is ref cursor? what is the advantages of ref cursor

  
Total Answers and Comments: 3 Last Update: February 06, 2007     Asked by: ily_saravanan 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 28, 2006 10:01:06   
JaySan        

RE: hi1.what is difference between pl/sql table ...

1.what is difference between pl/sql table ...

Ans. PL/SQL table is not created permanently in the database and it's only for the session once the program is complete the table is no longer available so it's used generally when you have some bulk data to store but not permanently.

2. What is the advantages of PL/SQL Tables?

Ans. The performance is faster access/retreival of data is faster and it's not permanent as well.

thanks

jaysan


 
Is this answer useful? Yes | No
January 12, 2007 01:03:27   
ranjeetapegu Member Since: January 2007   Contribution: 7    

RE: hi1.what is difference between pl/sql table ...

Difference between Pl/sql tables and record is that in pl/sql tables we can store more than one row

whereas in record we store only one row.

TYPE rec_emp is RECORD( ename varchar2(10) empno number (5));

rec_emp1 rec_emp

Whereas a pl/sql Table is

TYPE tab_emp is TABLE OF rec_emp index by binary_integer;

T_emp tab_emp;


 
Is this answer useful? Yes | No
February 06, 2007 08:01:38   
srini        

RE: hi1.what is ref cursor?what is the advantage of ref cursor
Actually explicit cursor refers only one work area in memory incase of ref cursor refers different work areas in memory.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape