avatar
I HATE Micro$oft# Database - 数据库
i*a
1
same thing worked perfectly in 2000 DTS doesn't work in SSIS
SQL 2000 DTS imports CVS file like this:
file: hello, """this"", is double quoted"
database: [hello], ["this", is double quoted]
SQL 2005 and 2008:
file: hello, """this"", is double quoted"
database: [hello], ["this"], [is double quoted]
it broke the field into two columns...
WTH....
avatar
B*g
2
你早就该弃暗投明

【在 i****a 的大作中提到】
: same thing worked perfectly in 2000 DTS doesn't work in SSIS
: SQL 2000 DTS imports CVS file like this:
: file: hello, """this"", is double quoted"
: database: [hello], ["this", is double quoted]
: SQL 2005 and 2008:
: file: hello, """this"", is double quoted"
: database: [hello], ["this"], [is double quoted]
: it broke the field into two columns...
: WTH....

avatar
g*l
4
尽量不用DOUBLE QUOTE了,一般都用PIPE DELIMITED,SSIS是重写的完全放弃了DTS,
DTS已经被彻底淘汰了。今天2005 EXPORT EXCEL,长STRING死活就是EXPORT不出来,最
后用了QUERY RESULT SAVE AS TEXT,然后再用EXCEL打开,是有些烂字符。
avatar
i*a
5
vendor file, 沒有辦法啊
excel imports it correctly...
I've tested with LogParser, it reads it correctly too. gonna use LogParser
to convert it into tab delimited or something.

【在 g***l 的大作中提到】
: 尽量不用DOUBLE QUOTE了,一般都用PIPE DELIMITED,SSIS是重写的完全放弃了DTS,
: DTS已经被彻底淘汰了。今天2005 EXPORT EXCEL,长STRING死活就是EXPORT不出来,最
: 后用了QUERY RESULT SAVE AS TEXT,然后再用EXCEL打开,是有些烂字符。

avatar
g*l
6
全部倒入一个FIELD,去掉DOUBLE QUOTE再PARSE,搞成个SSIS PACKAGE好了

【在 i****a 的大作中提到】
: vendor file, 沒有辦法啊
: excel imports it correctly...
: I've tested with LogParser, it reads it correctly too. gonna use LogParser
: to convert it into tab delimited or something.

avatar
L*r
7
这个确实有点恶心。不过这不是SSIS的错,是EXCEL的DRIVER把
长字符TRUNCATE了。都是MS的东西,互相不匹配。

【在 g***l 的大作中提到】
: 尽量不用DOUBLE QUOTE了,一般都用PIPE DELIMITED,SSIS是重写的完全放弃了DTS,
: DTS已经被彻底淘汰了。今天2005 EXPORT EXCEL,长STRING死活就是EXPORT不出来,最
: 后用了QUERY RESULT SAVE AS TEXT,然后再用EXCEL打开,是有些烂字符。

avatar
i*a
8
2008 SSRS, exporting a report with matrix to CSV doesn't work anymore....
WTF....
avatar
m*y
9
我前几天在新的server装sql server 2005, 那个server上面有24个processors,装了半
天一直出错,也搞不懂为什么,后来看kb才知道processor必须是2的power数才行。
microsoft真是没道理呀!
http://support.microsoft.com/kb/954835/en-us
avatar
B*g
10
弃暗投明吧,oracle group欢迎你,哈哈。

【在 m******y 的大作中提到】
: 我前几天在新的server装sql server 2005, 那个server上面有24个processors,装了半
: 天一直出错,也搞不懂为什么,后来看kb才知道processor必须是2的power数才行。
: microsoft真是没道理呀!
: http://support.microsoft.com/kb/954835/en-us

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。