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

Home -> Community -> Usenet -> c.d.o.tools -> Getting Primary Key Info. for a table

Getting Primary Key Info. for a table

From: <adnanbader_at_my-deja.com>
Date: Mon, 28 Aug 2000 04:24:25 GMT
Message-ID: <8ocpha$1e6$1@nnrp1.deja.com>

Hi,

It sounds a very basic question, but not being a DB expert I would like to throw the question in this forum and seek any quick help. I want to get the primary keys information about a table in Oracle DB using either an SQL query or any other suitable method for an OLE DB consumer
application. I'm trying to write the consumer in VC++ with OLE DB Provider interface and at the beginning of application execution there is no information available about the table. But as soon as the user selects a table, I need to retrieve the primary key columns for that table.

Any quick help or pointer are greatly appreciated.

Cheers.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Sun Aug 27 2000 - 23:24:25 CDT

Original text of this message

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