dbi.program-error
Baptiste Ledesert
baptiste.ledesert at wanadoo.fr
Fri Aug 3 05:38:51 EDT 2001
I have a problem. my program is:
myconn=odbc.odbc('db_log')
mycursor=myconn.cursor()
mycursor.execute('INSERT INTO Attaque VALUES(07/05/2001
12:00:00,0,0,0,0,0);')
mydata = mycursor.fetchall()
mycursor.close()
myconn.close()
My database has 6 arguments.the first arguments is a date with format:
mm/dd/yyyy hh:mm:ss
error message is:
dbi.program-error: [Microsoft][ODBC Microsoft Access Driver] Too few
parameters. Expected 1. in EXEC
Why there is this message?
Thanks
Baptiste
More information about the Python-list
mailing list