I'm wondering if it is possible to do that via your SELECT schema FROM sqlite_master WHERE name = 'employees';
Just a thought
Regards Benny
No, not possible. --> "No such Column: schema"
In general: Best bet are the 2 PRAGMA's
table_info
and
table_xinfo (This one returns more info)
It returns what you need.
the "SELECT sql FROM sqlite_master"-approach involves parsing the returned CREATE TABLE-Statement.
Edit, i Know, i should a parameter, but this is quick and dirty.
And no: You can't use parameters in a PRAGMA