string sql = "select * from sqlite_master where type='table' and name ='xxx'";
我想问下上面的代码中系统表有什么用处
string sql = "select * from sqlite_master where type='table' and name ='xxx'";
我想问下上面的代码中系统表有什么用处
遍历获取表结构,如果你想写一个sqlite通用的读取程序。或者你想写一个一股脑将一个数据库备份到另一个数据库的程序,就必须先获取表和表结构信息。