How to get primary key of the table

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jaska45
Posts: 28
Joined: Fri 23 Dec 2005 03:55

How to get primary key of the table

Post by jaska45 » Thu 16 Feb 2006 08:06

Hi,

How to get the fields that belong to the primary key of the table?

Best regards,
Jaakko

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 16 Feb 2006 10:51

You can use KeyFields property of TOraTable.

Post Reply