Popular recipes tagged "meta:loc=195" but not "environment"http://code.activestate.com/recipes/tags/meta:loc=195-environment/2001-12-28T17:41:31-08:00ActiveState Code RecipesUse ADO to list field definitions for tables (Python)
2001-12-28T17:41:31-08:00Craig Andersonhttp://code.activestate.com/recipes/users/162667/http://code.activestate.com/recipes/104801-use-ado-to-list-field-definitions-for-tables/
<p style="color: grey">
Python
recipe 104801
by <a href="/recipes/users/162667/">Craig Anderson</a>
(<a href="/recipes/tags/database/">database</a>).
</p>
<p>Utilities are provided to open an ADO connection, list all the tables
found on the connection, and generate field definitions of any of
the tables. An ADO connection string is used to open the connection.
The field definitions are in the form of a PostgreSQL table creation
script.</p>