【发布时间】:2012-09-14 11:52:47
【问题描述】:
有什么好的方法可以将固定宽度的文本文件导入sqlite表,最好不使用外围软件?
例如指定每个字段的宽度
Field 1: 10 characters starting with the second character
Field 2: 5 characters starting with the twelfth character
Field 3: 7 characters starting with the eighteenth character
线
AABCDEFGHIJABCDEAABCDEFGA
将被导入为:
Field 1 Field 2 Field 3
ABCDEFGHIJ ABCDE ABCDEFG
谢谢
【问题讨论】:
标签: sqlite text fixed-width