difference between VARCHAR NVARCHAR in SQLite

In Microsoft SQL Server,VARCHAR is ASCII and NVARCHAR is Unicode (UTF-16). In SQLite,all text is Unicode,so it's not relevant. In any case,SQLite is loosely typed so it wouldn't make a difference anyways. Seehttp://www.sqlite.org/datatype3.html:)


在SQL Server中,VARCHAR是ASCII编码而NVARCHAR是Unicode编码(UTF-16). 在SQLite中,所有的文本都是Unicode,所以VARCHAR和NVARCHAR没什么区别。SQLite的类型是松散的,所以不会有很大的不同,详见http://www.sqlite.org/datatype3.html


原文地址:http://stackoverflow.com/questions/3930501/difference-between-varchar-nvarchar-in-sqlite

相关文章

SQLite架构简单,又有Json计算能力,有时会承担Json文件/RES...
使用Python操作内置数据库SQLite以及MySQL数据库。
破解微信数据库密码,用python导出微信聊天记录
(Unity)SQLite 是一个软件库,实现了自给自足的、无服务器...
安卓开发,利用SQLite实现登陆注册功能