SQLite 判断表是否存在

前端之家收集整理的这篇文章主要介绍了SQLite 判断表是否存在前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

SELECT count(*) FROM sqlite_master WHERE type='table' AND name='tableName';

详细请查看 select * from sqlite_master; .schema sqlite_master

猜你在找的Sqlite相关文章