摘要:
SQLite中的时间日期函数这是我学习SQLite时做的笔记,参考并翻译了Chris Newman写的《SQLite》中的《Working with Dates and Times》部分内容。SQLite包含了如下时间/日期函数:datetime().......................产生 阅读全文
摘要:
cx = sqlite3.connect("c:/数据库地址") # 打开数据库cu = cx.cursor()# delete the rowcu.execute("delete from user where username=='majuan'")# Save (commit) the cha 阅读全文
摘要:
cx = sqlite3.connect("c:/数据库地址") # 打开数据库cu = cx.cursor()# query the tablerows = cu.execute("select * from user")# print the tablefor row in rows: prin 阅读全文