Click to See Complete Forum and Search --> : Find prymary keys from C++ program


JoseMourinho
February 12th, 2009, 05:39 PM
Hello

How can i find primary key (key fields) of table from C++ program. The aim is to open a table and at runtime to understand witch are the primary key?

I use Firebird RDBMS and CBuilder 5.0. I use IB components.

please tell some ideas

Igor Vartanov
February 13th, 2009, 11:37 AM
SQLPrimaryKeys (http://msdn.microsoft.com/en-us/library/ms711005(VS.85).aspx)