找到已经存在的所有表,手动判断是否需要建表

SELECT name FROM SQLITE_MASTER WHERE type='table'ORDER BY name"

建表时sqlite自动判断:
create table if not exists nodetype(id integer PRIMARY KEY autoincrement,type int)

 

删除表示自动判断:

drop table if exists SysNotice

相关文章:

  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2022-01-16
  • 2022-01-11
  • 2021-10-30
  • 2022-12-23
猜你喜欢
  • 2022-02-22
  • 2022-02-11
  • 2021-07-24
  • 2022-12-23
  • 2021-07-18
  • 2021-09-12
  • 2021-08-24
相关资源
相似解决方案