mxODBC and delete

latrada latrada at
Tue May 16 09:15:35 CEST 2000


I can run a delete command on my setup (i've just checked).

I suppose you've checked that ODBC set up ok?

Can you run a select statement?

I presume from below that you're connect with a user name and password -
does this have authority to delete?

Have you tried a different database?


Peter Leveille <psl at> wrote in message
news:3920530E.79AACCDC at
> I have been using the mxODBC package for access to a database.  This has
> been working great,  until a recent problem that I have had.  When I try
> running the following code, python just freezes up. Does anyone know
> what I am doing wrong,  or if there is another way to do it?
> >>> import ODBC.Windows
> >>> db = ODBC.Windows.Connect('????????','???','??????')
> >>> c = db.cursor()
> >>> c.execute('DELETE FROM ???????')

More information about the Python-list mailing list