Re: mxODBC argv sql query

2005-12-12 Thread Steve Holden
BartlebyScrivener wrote: > This can't be the most elegant way to get a command line parameter into > an sql query. It works but I can't explain why. Is there another, more > correct way? Here sys.argv[1] is a topic like "laugher" or "technology" > > import mx.ODBC.Windows as odbc > import sys > >

mxODBC argv sql query

2005-12-12 Thread BartlebyScrivener
This can't be the most elegant way to get a command line parameter into an sql query. It works but I can't explain why. Is there another, more correct way? Here sys.argv[1] is a topic like "laugher" or "technology" import mx.ODBC.Windows as odbc import sys driv='DRIVER={Microsoft Access Driver (*