Commit 1e624a78 authored by litaolemo's avatar litaolemo

update

parent d59fb6dd
......@@ -106,9 +106,9 @@ for res in sql_res:
partition_day=partition_day, pid=pid
)
print(instert_sql)
cursor.execute("set names 'UTF8'")
# cursor.execute("set names 'UTF8'")
res = cursor.execute(instert_sql)
db.commit()
print(res)
# cursor.executemany()
db.close()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment