"Gheorghita Suciu" <[email protected]>
wrote in message
news:[email protected]
> I'm trying to find which column is the primary key column for a table
> inside an sqlite database.

PRAGMA table_info(tableName);

Note that a primary key may be comprised of more than one column, or 
there may not be one at all.

Igor Tandetnik 



_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to