Re: [sqlite] Why must one write a mini SQL parser to read the columnnames?

2008-12-01 Thread Ben Harper
Thanks, that's perfect! On Mon, Dec 1, 2008 at 3:06 PM, Igor Tandetnik <[EMAIL PROTECTED]> wrote: > "Ben Harper" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] >> To the best of my findings, it seems to me that one needs to write a >> mini SQL parser in order to read the 'sql'

Re: [sqlite] Why must one write a mini SQL parser to read the columnnames?

2008-12-01 Thread Igor Tandetnik
"Ben Harper" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > To the best of my findings, it seems to me that one needs to write a > mini SQL parser in order to read the 'sql' field from sqlite_master, > in order to discover the fields in an Sqlite table. Have you looked at PRAGMA