Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Describing indexes of a table in OCI

Re: Describing indexes of a table in OCI

From: Uwe Schneider <uwe_at_richard-schneider.de>
Date: Mon, 24 Dec 2001 15:38:34 +0100
Message-ID: <3C273DEA.453B6349@richard-schneider.de>


andras wrote:
>
> Hello to you all,
>
> I would like to get a description of all indexes of a specific
> table. I have seen the 'table description' structure for
> OCIDescribeAny() in the docs so I am aware of the node structure
> and I also am able to describe the columns of a table without
> problems.
>
> My specfic question to you is what OCIAttrGets and OCIParamGets
> should I use to access 'statistics' -> 'indexes' -> ... from the
> describeTableHandle.
>
> I have tried to figure it out from the header file but I could
> find no OCI_ATTR_LIST_STATISTICS, OCI_ATTR_LIST_INDEX or anything
> like that.

Why don't you just query the data dictionary?

-> user_indexes, user_ind_columns ...

Uwe

-- 
Uwe Schneider       | Telefon +49 7244 / 609504
Haydnstr. 1         | Mail    uwe_at_richard-schneider.de
DE-76356 Weingarten | http://www.richard-schneider.de/uwe
Linux - OS al dente!
Received on Mon Dec 24 2001 - 08:38:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US