SQLite 版本 4 中的数据类型?
我知道有很多地方可以找到 sqlite 数据类型,例如此链接< /a> 或这个其他链接。
也许这个问题听起来很愚蠢,当我提到版本 4 因为版本4 文档不在互联网上,或者也许我无法找到它。为什么我从SQLite站点下载的dll库有:
当我从此处下载该库时(sqlite-netFx40-setup-bundle-x86-2010-1.0.79.0.exe) 并安装 Visual Studio 插件 我可以在 Visual Studio 中创建 sqlite 数据库,如下所示:
请注意,我有多种数据类型!
我对 sqlite 的版本非常困惑。我使用的是 sqlite 版本 3 吗?从 这里?如果我使用的是 sqlite 版本 3,那么为什么 sqlite 的 Visual Studio 表设计器为我提供的数据类型与文档中的数据类型不同?
I know there are a lot of places where I can find sqlite data types such as in this link or this other link.
Maybe this question sounds stupid when I mention version 4 because version 4 documentation is not out there on the internet or maybe I have not been able to find it. Why is it that the dll library that I downloaded from SQLite site has:
also when I downloaded that library from here (sqlite-netFx40-setup-bundle-x86-2010-1.0.79.0.exe) and install the visual studio plugins I am able to create sqlite databases in visual studio as:
Note that I have several data types!!
I am very confused on the versions of sqlite. Am I using sqlite version 3? What are the data types that I can use with the version that I downloaded from here? If I am using sqlite version 3, then why does the visual studio table designer for sqlite gives me different data types than the ones from the documentation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
鉴于还没有 SQLite 4.x 这样的东西(无论如何),您肯定使用的是 SQLite 3.7.10。 v4.0.30319 几乎肯定是指 .NET 运行时,而不是 SQLite。
SQLite 只有少数内置类型,但 ADO.NET 有一个需要遵循的接口,因此该适配器会尽力将您看到的类型集映射到 SQLite(小得多)的本机类型集。
Seeing as there's no such thing as SQLite 4.x (yet, anyway), you're definitely using SQLite 3.7.10. The v4.0.30319 almost certainly refers to the .NET runtime, not SQLite.
SQLite has only a few built-in types, but ADO.NET has an interface to conform to, so this adapter does its best to map the set of types you see to SQLite's (much smaller) set of native types.