SQLITE 数据库查看表名是否存在

select count(*) from sqlite_master where type = 'table' and name = '表名';

你可能感兴趣的:(数据库)