Hi,

What would be the best way to find what the primary key is ? Unfortunately,
there doesn't seem to be a PRAGMA available for that.

My solution so far is to parse the CREATE TABLE query and find the primary
key declaration using my own scanner. I've some trouble though with table
that have multiple keys used for the primary key : PRIMARY KEY (field_a,
field_b).

Thanks for your suggestions,

Bertrand Mansion
Mamasam


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to