ODAC
Returns the list of table primary key fields.
TOraDataSet
function GetKeyList(TableName: string; List: TStrings): string;
Call the GetKeyList method to get the list of table primary key fields.