android sqlite3 show all tables
sqlite3中每个SQLite数据库有一个SQLITE_MASTER表,用来存储所有表信息;
SQLITE_MASTER表结构如下:
CREATETABLEsqlite_master(
typeTEXT,
nameTEXT,
tbl_nameTEXT,
rootpageINTEGER,
sqlTEXT
);
查询命令:
SELECTnameFROMsqlite_masterWHEREtype='table'ORDERBYname;
另:Ctrl+D可退出当前sqlite3环境,到达adbshell状态;
相关推荐
Attend 2020-05-27
MFCJCK 2020-01-11
fuzhangpeng 2011-08-09
沙滩海风阳光 2014-01-04
create00 2011-10-27
create00 2011-11-17
沙滩海风阳光 2015-09-11
MFCJCK 2020-01-31
Beatopcoder 2013-07-14
李元静 2019-07-15
Rebirthme 2012-01-29
wakilili 2014-04-22
jasenwan 2014-03-14
Beatopcoder 2014-01-03
Heller 2013-10-15
dbhelpera 2013-07-14
longhushi 2012-09-13
xuejianyong 2012-03-17