How to identify primary keys in an existing database table

1

I would like to identify the primary keys in a DB table using DatabaseLink commands trying to exclude SQLExecute. It seems like SQLTableInformation or SQLColumnInformation may not show that information.

Ariel Sepulveda

Posted 2015-03-26T20:28:34.657

Reputation: 1 617

2

SQLTablePrimaryKeys? https://reference.wolfram.com/language/DatabaseLink/ref/SQLTablePrimaryKeys.html

– Gordon Coale – 2015-03-26T22:33:52.947

Yes, that's what I needed. For some reason it escaped my radar. Thanks! – Ariel Sepulveda – 2015-03-26T22:40:41.493

No answers