hello, i have a list of tables i want to drop:
user_tables = ['notification', 'userNotification', 'product_comments',
'product_donation_paypalTransaction', 'product_donation',
'productList_recommended', 'productList_user_assoc',
'profile_values']
drop_user_tables = """DROP TABLE IF EXISTS db2.%s"""
try:
cursor.execute(drop_user_tables, (x for x in user_tables))
thanks
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor