detect primaryKeys for nested Tables
Date: 25 Sep 2001 08:08:59 -0700
Message-ID: <95b0338f.0109250708.4652e66b_at_posting.google.com>
Hi!
CREATE TYPE ProjectType AS OBJECT(
i found the following example for a nested table:
pno NUMBER,
CREATE TABLE Dept (dno NUMBER, dname CHAR(31), projs ProjectSet)
NESTED TABLE projs STORE AS
ProjectSetTable ((Primary Key(Nested_Table_Id, pno))
ORGANIZATION
pname CHAR(31),
budget NUMBER);
CREATE TYPE ProjectSet AS TABLE OF ProjectType;
INDEX COMPRESS 1);
My Question is: how can i find out the primaryKey-Columns?
I am building an application that should show that these columns (in
this case 'nested_table_id' and 'pno' are primaryKeys.
I have the other data of the nested table (via the ALL_NESTED_TABLES -
table) but i dont know where i can the information about the
Plz help,
Carsten
Received on Tue Sep 25 2001 - 17:08:59 CEST