Re: Extracting DB schema (newbie Q)

2012-05-17 Thread Steve Sawyer
Thanks, James, but John Gordon identified my usage error so I'm good to go now. On Mon, 14 May 2012 09:28:06 -0700 (PDT), james hedley jameskhed...@gmail.com wrote: On Monday, 14 May 2012 17:01:49 UTC+1, Steve Sawyer wrote: Brand-new to Python (that's a warning, folks) Trying to write

Extracting DB schema (newbie Q)

2012-05-14 Thread Steve Sawyer
Brand-new to Python (that's a warning, folks) Trying to write a routine to import a CSV file into a SQL Server table. To ensure that I convert the data from the CSV appropriately, Im executing a query that gives me the schema (data column names, data types and sizes) from the target table. What

Re: Extracting DB schema (newbie Q)

2012-05-14 Thread Steve Sawyer
dictionaries) a good way to store multiple attributes associated with a single key value? On Mon, 14 May 2012 17:05:17 + (UTC), John Gordon gor...@panix.com wrote: In bca2r7dt23l49ovp7m7id1ap3iaccvk...@4ax.com Steve Sawyer ssaw...@stephensawyer.com writes: What I think I want to do is to construct