时间:2021-07-01 10:21:17 帮助过:5人阅读
SQLITE数据库不支持远程访问
import sqlite3
conn=sqlite3.connect(‘aa1.db‘)
c = conn.cursor()
c.execute(‘‘‘CREATE TABLE test1
(ID INTEGER PRIMARY KEY AUTOINCREMENT,
RIQI TEXT NOT NULL,
dn text not null,
CISHU INT NOT NULL);‘‘‘)
print("Table created successfully")
conn.commit()
conn.close()
SQLITE数据库不支持远程访问
标签:prim exec table ESS primary text connect com sql