Creating a type having a nested table of that type !!!!!

Hi all, my question may look ambigious, but it's better understood by this example: How can i do this??
CREATE TYPE MaterialType AS OBJECT (
     MaterialID          NUMBER,
     MaterialName          varchar2(20),
     CompatibleMaterials     MaterialsNT
CREATE TYPE MaterialsNT AS TABLE OF REF MaterialType;
In other words, how can i create 'MaterialType', having as attribute 'CompatibleMaterials', which is a nested table of 'MaterialType'

why don't you try nested tables?
prem

Similar Messages

  • Create a view problem on nested tables

    I have a table which has a column of nested table:
    create table Person (
    id NUMBER(10), --primary key
    attr1 varchar2(10),
    attr2 varchar2(10),
    kids KIDS_NT --KIDS_NT is a nested table of object
    --which has two columns: name, age.
    ) nested table store as kids_nt_tab;
    Now I like to create a view which has the id (key), concatenation of attr1 and attr2 with a ".", and count of how many kids this persion has):
    create view Person_V as (
    select id, attr1||'.'||attr2 as attr12,
    count(*) from A a, table(a.kids)
    group by id)
    This won't work since it says attr1.attr2 is not a GROUP BY expression. If I don't specify a group by statement, it will say "not a single group group function).
    One solution that I think it will work but quite ugly is to create a view of id and attr1.attr2, andother for id and kids count, then a final view to join them.
    Does anyone have a better solution? Thanks in advance!
    Alice

    One way could be:
    SQL> create or replace type kids as object (
      2         name varchar2(10),
      3         age  number) ;
      4  /
    Type created.
    SQL>
    SQL> create or replace type kids_nt as table of kids ;
      2  /
    Type created.
    SQL>
    SQL> create table Person (
      2      id NUMBER(10) primary key,
      3      attr1 varchar2(10),
      4      attr2 varchar2(10),
      5      kids KIDS_NT
      6  ) nested table kids store as kids_nt_tab;
    Table created.
    SQL>
    SQL> insert into Person values (1, 'attr1', 'attr2', kids_nt(kids('kid1', 10), kids('kid2', 8))) ;
    1 row created.
    SQL> insert into Person values (2, 'attr1', 'attr2', kids_nt(kids('kid1', 6), kids('kid2', 13))) ;
    1 row created.
    SQL>
    SQL> select id, attr1||' '||attr2, (select count(*) cnt from table(p.kids)) cnt
      2  from Person p
      3  /
            ID ATTR1||''||ATTR2             CNT
             1 attr1 attr2                    2
             2 attr1 attr2                    2
    2 rows selected.
    SQL>

  • Create user/schema is script, then tables for that user/schema

    Hi;
    First off, if I phrase this a little wrong - I'm from the Sql Server world and still trying to totally understand Oracle.
    I have a schema (.sql file) that creates my database fine. But what I would liek to add to the .sql schema is for it to create a user and then place all the tables, indexes, sequences, and triggers in as belonging to that created user.
    This way we can tell people to log in as sysop and run the script to create the schema rather than create the user, log in as the user, then run the script.
    What do I need to add?
    thanks - dave

    Hi;
    I have tried:
    CREATE USER DAVE IDENTIFIED BY password;
    CONNECT DAVE/password AS SYSDBA
    I have also tried:
    CONNECT DAVE/password AS SYSTEM
    CONNECT DAVE AS SYSDBA
    CONNECT DAVE
    In all cases ApplicationExpress says it does not recognize the CONNECT command. Should I do something different? What I want to accomplish is that all subsequent commands in the script creating tables, indexes, etc are assigned to the user/schema DAVE.
    thanks - dave

  • Error while create trigger on for nested table

    I want to insert a record into a nested table.For this, I created a view for the table, which includes the nested table.It told me ORA-25015 cannot perform DML on this nested table view column.So I created a trigger for the nested table.However, it told me that ORA-25010 Invalid nested table column name in nested table clause.I think my nested table is valid, i don't konw why did it appear this kind of problem?
    My table is
    CREATE TABLE ENT
    ID NUMBER(7) NOT NULL,
    CREATE_DATE VARCHAR2(11 BYTE),
    UPDATE_DATE VARCHAR2(11 BYTE),
    DEPTS VARRAY_DEPT_SEQ
    CREATE OR REPLACE
    TYPE DEPT AS OBJECT
    ID NUMBER(8),
    ANCHOR VARCHAR2(20),
    CREATE OR REPLACE
    TYPE " VARRAY_DEPT_SEQ" as varray(930) of DEPT
    CREATE OR REPLACE VIEW ENT_NESTED_VIEW
    (ID, CREATE_DATE, UPDATE_DATE, DEPTS)
    AS
    select e.ID,cast(multiset(select r.id,r.anchor from ent z, table(z.depts) r where z.ID=e.ID )as varray_dept_seq)
    FROM ENT e
    Then when I created trigger;
    CREATE OR REPLACE TRIGGER EMP.ENT_NESTED_TRI
    INSTEAD OF INSERT
    ON NESTED TABLE DEPTS OF EMP.ENT_NESTED_VIEW
    REFERENCING NEW AS New OLD AS Old PARENT AS Parent
    FOR EACH ROW
    BEGIN
    END ;
    I met the problem: ORA-25010 Invalid nested table column name in nested table clause
    Could you please tell me the reason
    Thank you!
    My insert SQL is:
    insert into table(select depts from ent_nested_view where id=1856) values(varray_dept_seq(dept(255687,'AF58743')))
    Message was edited by:
    user589751

    Hi,TongucY
    Compared with the "Referencing Clause with Nested Tables" part of this reference -
    http://psoug.org/reference/instead_of_trigger.html, I found the answer of this
    quesion. That is "CREATE OR REPLACE TYPE " VARRAY_DEPT_SEQ" as[b] varray(930) of
    DEPT". It turns to be a varying array, not a nested table. It should be "CREATE OR
    REPLACE TYPE " VARRAY_DEPT_SEQ" as table of DEPT". That is OK. Thank you very
    much!
    While there is an another question, if I create a varying array like" CREATE OR
    REPLACE TYPE " VARRAY_DEPT_SEQ" as[b] varray(930) of DEPT " and I want to insert
    a record into the varying array, which the record has been existed.The method that
    create a view and a trigger seems not to be effective.
    For instance,
    There is a record in the table
    ID:1020
    CREATE_DATE:2005-10-20
    UPDATE_DATE:2007-2-11
    DETPS: ((10225,AMY))
    I want to ask this record to be
    ID:1020
    CREATE_DATE:2005-10-20
    UPDATE_DATE:2007-2-11
    DETPS: ((10225,AMY),(10558,TOM))
    How should I do?
    Could you please help me?
    Best regards.
    Message was edited by:
    user589751

  • UserDefined Type Question - Nested Table Attribute

    I have a question about some types I'm trying to create and whether or not it's even possible .....
    Here's the background ...
    I have the following type i created :
    create type asset_stat (
    stat_current varchar2(50),
    stat_change_date date,
    stat_change_user varchar2(30)
    All this type does is simply put a user and date/time stamp when constructed. I want to track status changes for historical tracking.
    Then I want to create a nested table type of the above type as follows:
    create type asset_stat_nt as table of asset_stat
    Then, I have another type i've created which will have the nested table type created above as an attribute.
    create type asset (
    asset_name varchar2(30),
    asset_type varchar2(3),
    asset_stat asset_stat_nt
    Now, the constructor for this asset type is defined like this: ( this is where i get lost)
    constructor function asset (
    asset_nm IN varchar2,
    asset_type_cd in varchar2,
    asset_stat_cd in varchar2 ) return self as result is
    begin
    self.asset_nm := asset_nm
    self.asset_type := asset_type_cd ;
    self.asset_stat := asset_stat_nt(asset_stat_cd);
    return;
    end;
    I just created a table of asset type and tried to do an insert and I'm getting an error related to the line where the nested type is being assigned. Is this possible? If so is my syntax completely off? I'm not quite sure how to set values for the nested type because i want to keep all records of change. Any help would be greatly appreciated.
    thanks

    the block of code shows that asset_stat_nt is the type assigned to asset_stat inside the type asset as shown below
    create type asset (
    asset_name varchar2(30),
    asset_type varchar2(3),
    asset_stat asset_stat_nt
    I guess for the following block of code, the line with the arrows should be given like shown below in bold letters
    constructor function asset (
    asset_nm IN varchar2,
    asset_type_cd in varchar2,
    asset_stat_cd in varchar2 ) return self as result is
    begin
    self.asset_nm := asset_nm
    self.asset_type := asset_type_cd ;
    self.asset_stat := asset_stat_nt(asset_stat_cd);return;
    end;
    [b][b]self.asset_stat := asset(asset_stat_nt(asset_stat_cd));
    I am not pretty sure.......try it anyway.....if it works....good to you

  • Creating a Mat View having the same name with that of the table name

    Hi everyone,
    After dropping the mat view name "QQ.TRDLN_DIM_MV", I'm trying to re-create it by having the same name as that of the table but I got an error stating that "name is already used by an existing object". How can create a mat view to look like the object owned by schema "GQ", having a name that is the same as that of the table name, without dropping the table?
    OWNER_O OBJECT_TYPE CREATED LAST_DDL_ TIMESTAMP STATUS OBJECT_NAME
    ===
    GQ MATERIALIZED VIEW 05-NOV-08 13-DEC-08 2008-11-05:06:31:46 VALID TRDLN_DIM_MV
    GQ TABLE 05-NOV-08 15-DEC-08 2008-11-05:06:31:00 VALID TRDLN_DIM_MV
    QQ TABLE 17-AUG-07 16-MAR-09 2007-08-17:17:05:21 VALID TRDLN_DIM_MV
    SQL>CREATE MATERIALIZED VIEW QQ.TRDLN_DIM_MV
    2 TABLESPACE FPLC01S
    3 NOCACHE
    4 NOLOGGING
    5 COMPRESS
    6 PARALLEL ( DEGREE 2 INSTANCES 1 )
    7 BUILD IMMEDIATE
    8 REFRESH FORCE ON DEMAND
    9 WITH PRIMARY KEY
    10 AS
    11 select /*+ NO_REWRITE */ trdln_id,
    12 trdln_skid,
    13 trdln_end_date,
    14 first_value(trdln_end_date) over (partition by trdln_id order by trdln_end_date DESC) as MaxDate
    15 from QQ.trdln_dim;
    from QQ.trdln_dim
    ERROR at line 15:
    ORA-00955: name is already used by an existing object
    I appreciate your help. Many thanks in advance!
    Regards,
    Radic

    You'd have to rename the table (using ALTER TABLE tablename RENAME TO othername; ) before you create the MV.
    You can't have both existing with the same name in the same schema.
    What you see in the GQ schema is that the "table" is the underlying table for the Materialized View.
    When you do a CREATE MATERIALIZED VIEW MY_MV AS ...
    Oracle creates two objects with the same name, one being the Materialized View MY_MV and the other being the table MY_MV which is the physical storage. {Remember that a Materialized View is a means of getting a physical representation of a View}.
    In the QQ schema what you have is either
    a. a real Table
    or
    b. an improperly dropped MV, resulting in the underlying Table still present.

  • Partition exchange error on table with nested table

    On Oracle 11.2.0.1, I have a partitioned table with some partitions that need to be 'archived' (in terms of moving partitions to an 'archive' table).
    I have a source table like:
    CREATE TABLE IS_PODACI245
      ID_OBJEKTA_IDENTIFIKACIJA  NUMBER(10),
      ID_OBJEKTA                 NUMBER(20),
      DATUM                      TIMESTAMP(6)       NOT NULL,
      TZ                         NUMBER(3),
      DATA1                      NUMBER(10),
      DATA2                      NUMBER(6),
      DATA3                      NUMBER(10),
      DATA4                      NUMBER,
      DATA5                      T_NTCIP_CLIMATE_TABLE
    NESTED TABLE DATA5 STORE AS IS_PODACI245_STORE_TABLE
    TABLESPACE DATA
    PARTITION BY RANGE (DATUM)
      PARTITION P_201107 VALUES LESS THAN (TIMESTAMP' 2011-08-01 00:00:00')
        LOGGING
        NOCOMPRESS
        TABLESPACE DATA, 
      PARTITION P_MAXVALUE VALUES LESS THAN (MAXVALUE)
        LOGGING
        NOCOMPRESS
        TABLESPACE DATA
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    CREATE INDEX IDX_IS_PODACI245_KOMPLEKS ON IS_PODACI245
    (ID_OBJEKTA_IDENTIFIKACIJA, ID_OBJEKTA, DATUM)
      TABLESPACE DATA
    LOCAL ( 
      PARTITION P_201107
        LOGGING
        NOCOMPRESS
        TABLESPACE DATA, 
      PARTITION P_MAXVALUE
        LOGGING
        NOCOMPRESS
        TABLESPACE DATA
    NOPARALLEL;
    CREATE OR REPLACE TYPE t_ntcip_climate_table as table of t_ntcip_climate_fmt;
    CREATE OR REPLACE TYPE t_ntcip_climate_FMT as object
    (  dev_index number(6)
    ,   dev_description varchar2(512)
    ,   dev_type number(10)
    ,   dev_status number(10)
    ,   dev_mfr_status varchar2(512)
    ,   dev_active number(3)
    ,   dev_test_activation number(10)
    /I would like to make exchange partition using stage table, and everything is going fine on all tables, but only on a few of them (listed source is one of them, and they're only tables with nested tables wihin), where I get an error.. but sometimes ;)
    on a statement like:
    ALTER TABLE IS_PODACI245_ARH EXCHANGE PARTITION P_201106  WITH TABLE IS_PODACI245_STAGE EXCLUDING INDEXES  WITHOUT VALIDATION;I got an error:
    ORA-00001: unique constraint (TXV.SYS_C0032911) violated
    it's an unique index between parent and nested table.
    what could cause that problem?

    Dear,
    I suppose that the unique constraint
    ORA-00001: unique constraint (TXV.SYS_C0032911) violatedis the one you 've created on the nested table IS_PODACI245_STORE_TABLE
    If so, why not disable that constraint and try again.
    I have never exchanged such a kind of partitioned table having a nested table in it. But, I could imagine that the cloned non partitioned table IS_PODACI245_STAGE should at least be the exact image of the partitioned table IS_PODACI245_ARH (of course without the partition part) but with the nested table part and including all indexes
    In addition, if you have a parent/child relationship between your partitioned tables, then there is a chronological order of exchange starting by the child and then finishing by the parent
    see the following link for more information about this order of exchange (and comment 2 for an example also)
    http://jonathanlewis.wordpress.com/2006/12/10/drop-parent-partition/#more-65
    Hope this helps
    Mohamed Houri

  • I've got a nested table issue..

    Okay, first off: in Oracle 9i is there an option to nest a table inside a nested table? I got the impression it is an option; & I'd like further info on this.
    ..& on to the issue I've got: I've got one nested table object that I've identified in the following way:
    Create Type InnerNestedTable_ty as Object (
    ID Number(10),
    InnerNestedTableField Number(10)
    Create Type InnerNestedTable_tab as Table of InnerNestedTable_ty;
    If I were only going to nest this inside of one outer table, I'd input the following (I guess):
    Create Table Info (
    ID Number(10),
    OuterTableField InnerNestedTable_tab
    Nested Table OuterTableField Store as InnerNestedTable_ntab;
    Only thing is I'd like to nest this inside a nested table, in a field of an outer table (i.e., I'm going for a nested nested table, in other words). I guess I need the code to input in order for this to occur. For example, the outer table would be called OuterTable, the field would be OuterTableField. In that field I'd like a nested table [OuterNestedTable_ty, OuterNestedTable_tab] with the fields ID & OuterNestedTableField. The OuterNestedTableField field is to be a nested table itself [InnerNestedTable_ty, InnerNestedTable_tab]. I've got the latter, but no idea Long postings are being truncated to ~1 kB at this time.

    Noel,
    You can check out examples in the online doc at http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96594/adobjbas.htm#462243.
    Regards,
    Geoff

  • Nesting tables in Dreamweaver

    I am having trouble nesting tables within tables, I have provided a link http://mark.host56.com/links/info.html.
    as you will see I have a table with a fireworks image inside, this is the table i am refering too.  And below I have inserted a scetch drawing of what I am trying to achive.  Thank you.

    I believe this is what we were discussing in your other topic.  However, I thought you had decided to use divs?
    If you want to use a nested table to solve this puzzle, you will need to create a table 3 wide by 2 high.  The left 2 columns will have the rowspan attribute set to 2.  The left-most column will have your image in it.  The middle column will be a spacer so set this to the width you want in between the left and right columns and then the top right column would be your header and the bottom right would be your text.  For the bottom right cell use the CSS border to place a border around just this cell.  Then you would have done this with tables.

  • Collections stored as Nested tables

    I have created a Table with XMLTYPE column and the
    column is defined as Object against a registered Schema.
    I have also created nested tables for all collection types
    and created appropriate indexes on the Nested tables
    based on Nested_table_Id and array_index.
    CREATE TABLE STATEMENT_DATA
    TEST SYS.XMLTYPE
    XMLTYPE COLUMN TEST STORE AS OBJECT RELATIONAL
    XMLSCHEMA "StatementData.xsd"
    ELEMENT "StatementData"
    varray TEST."XMLDATA"."MessagePayload"."BillDeterminant"
    STORE AS table BillDeterminant
    ( varray "AttributeList" STORE AS table BillDtr_AttrList,
    varray "ChargeProfileData" STORE AS table BillDtr_ProfData )
    varray TEST."XMLDATA"."MessagePayload"."MarketStatement"
    STORE AS table MarketStatement
    (varray "MarketStatementLineItem" STORE AS table marketlineitm
    ( varray "PassThroughBill"."AttributeList" STORE AS table Lineitm_ChargeProf_AttrList,
         varray "PassThroughBill"."ChargeProfile" STORE AS table Lineitm_ChargeProfile
         (varray "ChargeProfileData" STORE AS table ChargeProfileData),
         varray "AttributeList" STORE AS table Lineitm_AttributeList),
         varray "RTO" STORE AS table Rto
         (varray "ErpAddress" STORE AS table rto_ErpAddress,
              varray "ErpPerson" STORE AS table rto_Erpperson
              (varray "ErpTelephoneNumber" STORE AS table rto_ErpTelephoneNumber)) ,
         varray "Customer" STORE AS table Customer
         (varray "ErpAddress" STORE AS table Cust_ErpAddress,
              varray "ErpPerson" STORE AS table cust_Erpperson
              (varray "ErpTelephoneNumber" STORE AS table cust_ErpTelephoneNumber)) ,
    varray "ActivityRecord" STORE AS table ActivityRecord)
    Sample Index :
    CREATE UNIQUE INDEX MARKETLINEITM_indx1 ON MARKETLINEITM d
    ( d.NESTED_TABLE_ID,d.array_index);
    Now when I tried to execute a sample query involving some of the
    nested tables , Explain Plan shows that it is not using the indexes
    I have created.
    The following parameters are also set in the Database.
    query_rewrite_enabled : TRUE
    query_rewrite_integrity : TRUSTED.
    I am using Oracle 9.2.0.5.0.
    Can somebody tell me if I am missing something?
    Thanks,
    Arun

    Thanks for the reply. XMPTYPE based column is not using the
    indexes even after gathering Index statistics. However the Statistics
    gathering is helping queries based on XMLTYPE based tables.
    Any suggestion for XMLTYPE based columns ? Has anybody
    been able to successfully use the indexes in 10g ?
    Arun

  • ROWNUM equivalent for Nested Tables?

    Is there an equivalent to the ROWNUM pseudocolumn for a nested table such that something like this...
    WITH driver_data AS
      (SELECT 1 AS id, sys.dbms_debug_vc2coll('a','b','c') AS val FROM dual
      UNION ALL
      SELECT 2 AS id, sys.dbms_debug_vc2coll('x','y','z') AS val FROM dual)
    SELECT t1.id,
      --t2.rownum as pos,
      t2.column_value AS val
    FROM driver_data t1,
         TABLE(t1.val) t2 ;
    ID     VAL
    1     a
    1     b
    1     c
    2     x
    2     y
    2     z...would return something like this...
    ID     VAL  POS
    1     a      1
    1     b      2
    1     c      3
    2     x      1
    2     y      2
    2     z      3

    ABB wrote:
    But the OP now has two collections per row of data, not one, as he showed above, so it becomes more complicated.Yes, it does. But still solvable:
    with t1 as (
                select  t1.*,
                        rownum rn_main
                  from  driver_data t1
         t2 as (
                select  id,
                        val1,
                        rn_main,
                        row_number() over(partition by rn_main order by rn_nested) pos
                  from  (
                         select  id,
                                 column_value val1,
                                 rn_main,
                                 rownum rn_nested
                           from  t1,
                           table(val1)
         t3 as (
                select  id,
                        val2,
                        rn_main,
                        row_number() over(partition by rn_main order by rn_nested) pos
                  from  (
                         select  id,
                                 column_value val2,
                                 rn_main,
                                 rownum rn_nested
                           from  t1,
                           table(val2)
    select  nvl(t2.id,t3.id) id,
            val1,
            val2,
            nvl(t2.pos,t3.pos) pos
      from  t2 full outer join t3 on t2.rn_main = t3.rn_main and t2.pos = t3.pos
      order by nvl(t2.rn_main,t3.rn_main),
               nvl(t2.pos,t3.pos)
    SQL> create table driver_data(
      2                           id number,
      3                           val1 sys.dbms_debug_vc2coll,
      4                           val2 sys.dbms_debug_vc2coll
      5                          )
      6    nested table val1 store as val1_tbl,
      7    nested table val2 store as val2_tbl
      8  /
    Table created.
    SQL> insert
      2    into driver_data
      3    SELECT  1 id,
      4            sys.dbms_debug_vc2coll('c','b','a') val1,
      5            sys.dbms_debug_vc2coll('k','u') val2
      6      FROM  dual
      7   UNION ALL
      8    SELECT  2 id,
      9            sys.dbms_debug_vc2coll('z','y','x') val1,
    10            sys.dbms_debug_vc2coll('n','e','j','t') val2
    11      FROM  dual
    12   UNION ALL
    13    SELECT  1 id,
    14            sys.dbms_debug_vc2coll('c','b','a') val1,
    15            sys.dbms_debug_vc2coll('k','u') val2
    16      FROM  dual
    17   UNION ALL
    18    SELECT  2 id,
    19            sys.dbms_debug_vc2coll('z','y','x') val1,
    20            sys.dbms_debug_vc2coll('n','e','j','t') val2
    21      FROM  dual
    22  /
    4 rows created.
    SQL> commit
      2  /
    Commit complete.
    SQL> column val1 format a10
    SQL> column val2 format a10
    SQL> with t1 as (
      2              select  t1.*,
      3                      rownum rn_main
      4                from  driver_data t1
      5             ),
      6       t2 as (
      7              select  id,
      8                      val1,
      9                      rn_main,
    10                      row_number() over(partition by rn_main order by rn_nested) pos
    11                from  (
    12                       select  id,
    13                               column_value val1,
    14                               rn_main,
    15                               rownum rn_nested
    16                         from  t1,
    17                         table(val1)
    18                      )
    19             ),
    20       t3 as (
    21              select  id,
    22                      val2,
    23                      rn_main,
    24                      row_number() over(partition by rn_main order by rn_nested) pos
    25                from  (
    26                       select  id,
    27                               column_value val2,
    28                               rn_main,
    29                               rownum rn_nested
    30                         from  t1,
    31                         table(val2)
    32                      )
    33             )
    34  select  nvl(t2.id,t3.id) id,
    35          val1,
    36          val2,
    37          nvl(t2.pos,t3.pos) pos
    38    from  t2 full outer join t3 on t2.rn_main = t3.rn_main and t2.pos = t3.pos
    39    order by nvl(t2.rn_main,t3.rn_main),
    40             nvl(t2.pos,t3.pos)
    41  /
            ID VAL1       VAL2              POS
             1 c          k                   1
             1 b          u                   2
             1 a                              3
             2 z          n                   1
             2 y          e                   2
             2 x          j                   3
             2            t                   4
             1 c          k                   1
             1 b          u                   2
             1 a                              3
             2 z          n                   1
            ID VAL1       VAL2              POS
             2 y          e                   2
             2 x          j                   3
             2            t                   4
    14 rows selected.
    SQL> SY.

  • SQL Select into Nested Table

    Hi,
    I would like to be able to store results of a query in the database. So far, I believe the best method is to store it as a nested table so that I may refer to it by criteria (e.g. date, name, etc.). I am somewhat new to Oracle and I'm not sure how to do this.
    The query will always return the same columns, so that should make it easier for me. Also, I need to be able to query the data that is stored into an APEX report region.
    Can someone tell me if this is the best method to do this? Also, is there a tutorial anywhere that explains how to do what I want?
    Thanks in advance,
    -David

    would like to be able to store results of a query in the database. So far,
    I believe the best method is to store it as a nested table so that I may refer
    to it by criteria (e.g. date, name, etc.). I am somewhat new to Oracle and
    I'm not sure how to do this.Given that you're new to Oracle how did you decide the best approach was a nested table? As most people who know anything at all about Oracle would take the opposite view (as Dan has done).
    Let's drill down into your requirements some more. How long do what to retain the results for? Do you want to retain the results of many queries? If so, will these queries be the same shape (same number and type of columns) or will they be different? Do you want one user to be able to see the results of another user's queries? Do you want to associate metadata with these result sets?
    In fact, why do you want to be able to store these result sets at all? Oracle is actually pretty good at caching data, especially in 11g. So you may be re-inventing a wheel and designing it wonky at that.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Adobe Livecycle Designer Question (relationships between nested tables)

    Hi,
    I am currently working on a PDF document using nested tables.
    I have already created the relationships between the nested tables in the context area.
    However, I do not know how to create the same relationships between the nested tables in the hierarchy (layout.)
    Any and all help will be greatly appreciated.
    Thank You.

    Hello John,
    We define data in the context area only. The defined data in the context area will be available in the Layout area in the hierachy model(Data View tab).
    In the Layout tab, we just need to design the form. 
    Hope I am clear. Please let us know if you want more details.
    Thanks
    Ramakrishna

  • How to create Criterian For more than one table

    Hi,
    I have one problem how to create criteria for more than one table in that using one criteria hot to get the values from database in that more than onetable for getting these values .Please send me the exampke code.
    reagrds,
    raghu

    Hi,
    I don't think its possible to create fieldcatalog for different tables,
    but if you want to do so create a dummy table which has all the fields which you want in fieldcatalog.
    populate the data from different table to that dummy table
    then create fieldcatalog for that table and pass it in the function module...
    Regards,
    Siddarth

  • Nested table functionality in VC7.1

    Hi,
    I have installed NetWeaver  7.1 successfully.now in VC 7.1 i need to test nested table webservice will work or not.is there any standard webservice available contains nested tables,so that i can test.
    Thanks
    Surya

    Hi,
    Check this link for more info.
    [http://wiki.sdn.sap.com/wiki/display/VC71/Web+Services]
    Regards,
    Govindu

Maybe you are looking for

  • Resource Bundle Problem

    I have a funny problem with Resource Bundles: In the property editor for a Hyperlink object I replaced the text property with the following: #{messages1.MyKey} I have defined an action on the hyperlink as follows: public String MyHyperlinkId_action (

  • Too much security

    Have four computers I maintain, all running 10.4.9. There seems to be too much security on a couple of them (I guess actually within the user account), but I can't put my finger on the specific thing that's causing this issue. Example – when a file i

  • One Master Page made for multiple files

    Can Master Pages be made, to be used in multiple files? If possible, how?

  • Certificates in chrome

    To my knowledge the only thing that "works" is changing the "Remember decisions to proceed through SSL errors for a specified length of time" flag under chrome:flags. It works up to 3 months. Right now there's not really much of a way around it with

  • 96 hours to build a blue-ray project???

    Hi again, just taken a look of my project running and I felt my heart in my throat!!!!!! 96 hours to build a project!!!!!!!!!!!!!! It is a BR project, edited in two languages and it is 2 hours and 10 minutes long. Everything (filmed menus and main fi