Re: Reading column names.

David Hughes <dfh-SSyVZMUXQxBawGkVQGIbBlpr/1R2p/[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Colin Barnette wrote:
> Hi, I'm trying to find out how to read the column names of a given table.
>
> I spent about an hour googling but to no avail. Any help is appreciated
The following documents on the SQLite web site may help:

http://www.sqlite.org/lang.html   -  SQL as understood by SQLite, 
particularly  *pragma table_info(*table-name*)*       

http://www.sqlite.org/sqlite.html -   sqlite a command-line program to 
administer SQLite databases, especially  /querying the *SQLITE_MASTER*/ 
/table/

-- 
Regards,

David Hughes

_______________________________________________
pysqlite mailing list
pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/pysqlite
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.