tags:

views:

1325

answers:

1

It is possible to get a row with all column names of a table like this:

|id|foo|bar|age|street|address|

id dont like to use "Pragma table_info(bla)"

Thanks.

+3  A: 
SELECT sql FROM sqlite_master
WHERE tbl_name = 'table_name' AND type = 'table'

Then parse this value with Reg Exp (it's easy) which could looks similar to this: "[(.*?)]"

Koistya Navin
The document /c3ref/column_5Fname.html is not avaivable on this server