in reply to Column info request.
Here are queries you can execute to fetch info about columns and tables, for the drivers I know how:
You will also have better luck with table_info and column_info if you look at their usage in the DBI docs -- they return active statement handles, not a list of things. (The tables method does return a simple list, but your usage of it (no arguments) is deprecated -- also note that for many drivers, the tables method returns a lot of system tables, views, etc.. probably more than you want).MySQL: show tables describe TABLE_NAME SQLite: select name from sqlite_master where type='table' pragma table_info('TABLE_NAME')
blokhead
|
|---|