Wrox Programmer Forums
All Other Wrox Books Do you have a question about a Wrox book that isn't listed anywhere on p2p.wrox.com or where the forum is locked? Here's a forum to post questions about any other Wrox book so that other readers or one of the authors can help you with your questions. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the All Other Wrox Books section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 28th, 2008, 05:55 AM
Registered User
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default index by table in pl/sql


i want to know about INDEX BY TABLE in pl/sql
and the advatages of INDEX BY TABLE.
will you plz explain this topice in bref.

vipin sudhakran
  #2 (permalink)  
Old October 1st, 2008, 12:19 PM
Registered User
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to djwesto

The authors of Beginning Oracle Programming (Dillon, Beck, & Kyte; 2002) stated "PL/SQL tables, or index-by tables ... are non-persistent tables that can be used in PL/SQL routines to emulate an array (p. 361).

Please be aware that these tables are actually one-dimensional arrays and are not regular Oracle tables.

One immediate use that comes to mind is the creation of OLAP (On-line analytic processing) stored procedures executed from the results of previous OLTP (On-line transaction processing) queries. Having access to a non-persistent table allows one to quickly manipulate data as an intermediate step. Some database tables may be immense and one may need to optimize total processing speed.

Another use may be far simpler, one has a need to work with an array structure or have the need to perform a cursive-like approach to a problem. Having access to an array data structure may make developing a solution easier than manipulating queries or creating views.

Similar Threads
Thread Thread Starter Forum Replies Last Post
return a table/rowset with pl/sql procedure acoles Oracle 4 February 14th, 2008 01:54 AM
PL/SQL Somesh ASP.NET 1.0 and 1.1 Basics 7 December 15th, 2006 05:49 PM
How to get datagrid selected index pl help me msrnivas General .NET 1 July 1st, 2005 08:03 AM
PL/SQL help carly_1 Oracle 1 October 19th, 2003 08:14 PM
PL/SQL help Blue Oracle 0 August 12th, 2003 02:54 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.