>> SQL = """insert into D.D_NOTIFY values (:CARDREF, :BANKKEY, :OK1, :OK2 \ >> :DEBTEUR, :DEBTDEN, to_date(:INVOICE_DATE,'DD.MM.YY'), >> to_date(:PAYMENT_DEADLINE,'DD.MM.YY'), :POINTS)""" >>
> Try using a variable name other than "id" for the CARDREF variable... say > "card_id". id is a built in function name; I suspect your problem may be > that you are assiging that function to the variable rather than your > intended value... I changed it to 'cardref' but I'm still getting the same error. -- damjan -- http://mail.python.org/mailman/listinfo/python-list