[Chicago] How to get table names from ODBC?
tottinge at gmail.com
Fri Aug 3 18:50:18 CEST 2007
Isn't that database-dependent and not connection-mode dependent?
Every database has system tables, and they don't have standardize name and
schema across database vendors.
If there is a general way, i do not know it.
On 8/3/07, Lukasz Szybalski <szybalski at gmail.com> wrote:
> I am using python win32 extentions.
> I get connected via odbc to a database files that are sitting in the
> import dbi,odbc
> cursor.execute('select * from tableabcd')
> print cursor.description
> This way I am able to find column names.
> How do i find a available table names? I have 20 tables available to
> me. How do I list their names??
> Chicago mailing list
> Chicago at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chicago