android 的 abc.db 和 abc.sqlite 有什么区别?

发布于 2025-01-01 10:50:37 字数 166 浏览 4 评论 0原文

我见过很多android数据库应用程序。

一些应用程序的数据库扩展名为 .sqlite,而另一些应用程序的数据库扩展名为 .db。

这两者之间有什么区别?它应该包含不同的东西吗?

请帮助我。

android 数据库最好使用什么?

谢谢。

i have seen many android database application.

Some of the application have its database with .sqlite extension while some have .db extension.

What is the difference betwwen those both ? Should it both contain different things ?

Please help me for that.

And what should be the best to use for the android database ?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

魂牵梦绕锁你心扉 2025-01-08 10:50:37

.sqlite 文件顾名思义是包含 SQLite 数据库的文件。
.db 是 Oracle、Paradox 和 XoftSpySE 数据库使用的文件扩展名

。您可以随意命名 SQLite 数据库。内容不是由文件结尾决定的,而是由每个 sqlite (3 )文件:

0x53 0x51 0x4c 0x69 0x74 0x65 0x20 0x66 0x6f 0x72 0x6d 0x61 0x74 0x20 0x33 0x00

换句话说,可能是相同的数据库内容。没有什么区别,只要创建者没有在其中放入其他字节即可。

.sqlite file is as the name implies a file that contains SQLite database.
.db is the file extension used by Oracle, Paradox and XoftSpySE databases

You can name your SQLite database whatever you want. The content is not determined by the file ending but by a sequence of bytes which start every sqlite (3) file:

0x53 0x51 0x4c 0x69 0x74 0x65 0x20 0x66 0x6f 0x72 0x6d 0x61 0x74 0x20 0x33 0x00

In other words, it could be the same database content. There is no difference, as long as the creator did not put other bytes in it.

春庭雪 2025-01-08 10:50:37

扩展名并不重要。您甚至可以省略数据库文件的任何扩展名。只是为了让开发者了解它是什么类型的文件。至少我是这么认为的:)

extensions doesn't matter. you may even omit any extension to your database file. Its just for the understanding of developer to know which file type it is. At least that's what i believe :)

万水千山粽是情ミ 2025-01-08 10:50:37

创建数据库时,您只需为要创建的数据库命名。所以所以扩展没有任何区别。无论如何,Sqlite SQLite 浏览器都会识别它。

When you create a database, you only is are going to give a name to the database which you will create. so So the extension does not make any difference.. Sqlite SQLite browser will recognise recognize it anyhow.

北方的巷 2025-01-08 10:50:37

是的,扩展名并不重要,但 SQLite 是一个用于 android 的数据库,其他数据库适用于所有数据库。

但让我澄清一件事 .sqlite 显示 SQLite 数据库。 .db是oracle使用的文件,mysql的自包含db dumpp等

yes extension doesn't matters but SQLite is a database which used for android and other DB's works for all database.

but let me clear one thing .sqlite shows SQLite database. .db is the file used by oracle, self contained db dumpp of mysql etc etc

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文