由网友( 忧伤并没有好一些、)分享简介:有谁知道SQL获取表名的列表,通过code在Android的?我知道 .tables 做它通过命令行shell,但这不会通过code工作。它是什么做的元数据等。?Does anyone know the SQL to get a list of table names via code in Android? I k...
有谁知道SQL获取表名的列表,通过code在Android的?我知道 .tables
做它通过命令行shell,但这不会通过code工作。它是什么做的元数据等。?
Does anyone know the SQL to get a list of table names via code in Android? I know .tables
does it through command shell but this doesn't work through code. Is it anything to do with the meta-data, etc.?
推荐答案
明白了:
SELECT * FROM sqlite_master WHERE type='table'
相关推荐
最新文章