 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dettmer, A.L. Guest
|
Posted: Mon Mar 01, 2004 8:02 pm Post subject: PostgreSQL primary keys |
|
|
I would like to know how could I query a postgreSQL
database with dbExpress to get the primary key field
names.
Using an client dataset with the following statemens:
FClientDataSet.Close;
FSQLDataSet.Close;
FSQLDataSet.SetSchemaInfo(stIndexes, ATableName, '');
FClientDataSet.IndexFieldNames:= 'COLUMN_POSITION';
FClientDataSet.Open;
FClientDataSet and FSQLDataSet are linked and FClientDataSet
are always empty, it neither contain column names.
By the I just discovered that I can't get any kind of field
metadata.
I'm using D7E and vitavoom postgreSQL driver version 2.20.
Thanks for any help
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|