Re: Temporary tables in memory using PL/SQL (as a workaround for not having CREATE TABLE privs)?
From: <dananrg_at_yahoo.com>
Date: Thu, 14 Feb 2008 06:58:46 -0800 (PST)
Message-ID: <a612b3d5-ac7f-4d18-9220-203d3bd15184@t55g2000hsa.googlegroups.com>
Date: Thu, 14 Feb 2008 06:58:46 -0800 (PST)
Message-ID: <a612b3d5-ac7f-4d18-9220-203d3bd15184@t55g2000hsa.googlegroups.com>
Are you sure PL/SQL Tables (now known as collections?) will do the
job? I thought collections were single-value lists, indexed by an
integer, or key-value pairs.
Imagine I have a table with 50 columns (don't imagine whether that's good or bad, just imagine it exists and I need to use it). A singlecolumn collection won't work. Cursoring through rows to generate INSERT statements, having to specify vcur_TABLE.ROW for each of the 50 columns in a DBMS_OUTPUT.PUT_LINE or UTL_FILE would be tedious.
Or am I wrong about PL/SQL tables/collections in Oracle 9i? Are they not merely lists / associative arrays? Received on Thu Feb 14 2008 - 08:58:46 CST