I need to find all columns in a table that are primary keys and return their column names.
Is there a way I can achieve this with the Connection.GetSchema()
method of the Firebird .net API? If not, how would a SQL statement look like to achieve this?
I don't need a complete code example but some guidance on how to do it.
In my scenario I have a Firebird embedded database and I want to generate stored prodecures from the database schema. I need the primary key column names to generate triggers on a table that insert some metadata into a tracking table.
I use the latest version of Firebird with the latest .net connector (v.2.5.5)
If you need more information about my problem please comment!