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
原文链接:https://www.f2er.com/sqlite/202260.html