All,

 

Is there any API in sqlite3 which will provide the Primary keys of the table
and also the Non-primary keys of the table?

 

Like suppose I have a table

 

create table t1 (c1 char, c2 char, c3 char, primary key(c1,c3));

 

And in my application, I need to know the columns which are the primary key
of the table t1.

 

So I want an Api - sqlite3_xyz_abcd(table name) which should some how return
me c1 and c3.

Hope I am clear.

 

Thanks and Regards,

Kiran Kumar M

 

____________________________________________________________________________
____________________________________________________________________________
___________

This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

____________________________________________________________________________
____________________________________________________________________________
___________

 

 

Reply via email to