i forgot to mention that you need to try your sql commands out of your script before trying them inside, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/tutor/attachments/20080411/111742bd/attachment.htm