Commit 1e624a78 authored by litaolemo's avatar litaolemo

update

parent d59fb6dd
...@@ -106,9 +106,9 @@ for res in sql_res: ...@@ -106,9 +106,9 @@ for res in sql_res:
partition_day=partition_day, pid=pid partition_day=partition_day, pid=pid
) )
print(instert_sql) print(instert_sql)
cursor.execute("set names 'UTF8'") # cursor.execute("set names 'UTF8'")
res = cursor.execute(instert_sql) res = cursor.execute(instert_sql)
db.commit()
print(res) print(res)
# cursor.executemany() # cursor.executemany()
db.close() 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