CSV的schema.ini文件是否有任何规范 [英] Is there any specification for schema.ini files for CSV's
本文介绍了CSV的schema.ini文件是否有任何规范的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建Schema.ini文件来定义CSV文件,并且搜索后无法在线找到规格,
I am wanting to create a Schema.ini file to define a CSV file and cannot find a specification online after searching,
是否存在这样的规范?
谢谢
推荐答案
Microsoft's MSDN has a good article on schema.ini.
对于csv文件,基本架构应类似于:
For a csv file a bare-bones schema should look something like:
[filename.csv]
Format=CSVDelimited
您当然可以添加其他选项,例如列名和数据类型(有关详细信息,请参见上面的链接).
You can, of course, add extra options like column names and data types (see the above link for details).
schema.ini
文件必须与要读取的文件位于同一文件夹中.
The schema.ini
file needs to be in the same folder as the file you want to read.
这篇关于CSV的schema.ini文件是否有任何规范的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文