sqlite3 查找 所有表名字

sqlite3 查找 所有表名字,第1张

概述http://stackoverflow.com/questions/82875/how-do-i-list-the-tables-in-a-sqlite-database-file   it appears you need to go through the *sqlite_master* table, like this: SELECT * FROM dbname.sqlite_master

http://stackoverflow.com/questions/82875/how-do-i-list-the-tables-in-a-sqlite-database-file

it appears you need to go through the *sqlite_master* table,like this:

SELECT * FROM dbname.sqlite_master WHERE type='table';
如果在db中进行 *** 作,可以把“dbname.”去掉,就ok了。

And then manually go through each table with a SELECT or similar to look at the rows.

The .DUMP and .SCHEMA commands doesn't appear to see the database at all.

找了一下午,有留言说awesome。。。也代表我测试成功一刻的心情。。。感谢stackoverflow,感谢问这个问题和答这个问题的大牛小牛们

总结

以上是内存溢出为你收集整理的sqlite3 查找 所有表名字全部内容,希望文章能够帮你解决sqlite3 查找 所有表名字所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/sjk/1180984.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-02
下一篇 2022-06-02

发表评论

登录后才能评论

评论列表(0条)

保存