sqlite查询表是否存在
其中t_w_plm为表名:
SELECT COUNT(*) FROM sqlite_master where type='table' and name='t_w_plm' SELECT * FROM sqlite_master where type='table' and name='t_w_plm'
其中t_w_plm为表名:
SELECT COUNT(*) FROM sqlite_master where type='table' and name='t_w_plm' SELECT * FROM sqlite_master where type='table' and name='t_w_plm'