Using PRAGMAs as sources in SQLite in getting column names

Posted by Paul Nathan on Stack Overflow See other posts from Stack Overflow or by Paul Nathan
Published on 2010-05-24T18:01:49Z Indexed on 2010/05/24 20:51 UTC
Read the original article Hit count: 264

Filed under:
|

Problem:

I want to do this operation

select name from pragma table_info(my_awesome_table)

However, it yields a syntax error. I have the sneaking suspicion this is possible, but it doesn't seem to be documented as usable in the SELECT docs with sqlite.

© Stack Overflow or respective owner

Related posts about sqlite

Related posts about metadata