Informatica平面文件

时间:2015-04-21 08:38:53

标签: informatica informatica-powercenter

我正在处理平面文件源。源代码中的列名称是大问题的形式,因此它们在列名中包含逗号和其他特殊字符。由于它是.csv文件,因此列的前几个列名用逗号分隔,而问题形式的剩余列名称放在双引号之间,并用逗号分隔。现在我怀疑是在PowerCenter Designer中设置文件属性。

如何定义列分隔符以及行分隔符以便通过跳过列名来读取数据?

这就是我的文件的外观:

Number,X,Y,Z,P,Q,R,S,"(A) 1. When you need to look for information about your different mall options, what level of importance do you place on the following information sources? (1- Not at all Important / 10 - Very Important)  Website","(A) 1. When you need to look for information about your different mall options, what level of importance do you place on the following information sources? (1- Not at all Important / 10 - Very Important)Website"
1,1,,1,1,1,1,1,1,1

1 个答案:

答案 0 :(得分:1)

在高级属性中,将列分隔符设置为“,”,将可选引号设置为“Double”,将要跳过的初始行数设置为“1”。

此外,如果行换行符不是换行符,则必须更改行分隔符。