[DB-SIG] Dumping Table Schema

jonan-lists-python-db@callisia.com jonan-lists-python-db@callisia.com
Thu, 30 Nov 2000 18:38:02 -0500


Hello,
       Is there any way to dump the schema of a table ? I am
 aware of cursor.description however this only works for a result set.
 I would like to know the schema regardless of data content.
 
 Can this been done in a portable way ? Right now I'm just using
 
 cur.execute("describe tablename") for MySQL but a portable way would
 be better.
 
 Have a nice day.
-- 
-Jonan Santiago
-Callisia Communications
-http://www.callisia.com