由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - SSIS import and export wizard 搞不定了
相关主题
Import data from excel into sql server 2000请教sql server 2005,怎样在固定时间run stores procedure
I HATE Micro$oft想report SQL Server 2008的一个不足之处--output more than 1 million rows into EXCEL
How to make import (>200M) faster?包子重酬,帮作2道题
Import 50GB data from multiple .txt file into MS SQL databasesql server 2005 问题
请大家给我推荐一下SSIS的书如何从一个Stored Procedure中实时返回运行信息
Issue with SSIS export to a flat file and to importy as well新手求助:关于数据库同步的问题
input into accesssql server 怎么关掉log
excel的数据如何导入到access/mssql?SQL Server 2005 Exec( )
相关话题的讨论汇总
话题: ssis话题: error话题: import话题: export话题: wizard
进入Database版参与讨论
1 (共1页)
B*********L
发帖数: 700
1
我用SSIS import and export wizard 从Oracle 数据库import 50个表到sql2005. 这
个Package 有时候success,有时候fail, fail的时候不定在那个TABLE,但是error
message 都一样的。
SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code:
0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native
Client" Hresult: 0x80004005 Description: "Invalid character value for cast
specification".
我试着把package 变成一个table一个Data Flow Task然后串起来RUN,但是有这个
ERROR。
大家看看有什么办法呢?
谢谢了。
j*****n
发帖数: 1781
2
http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/98f22137-caac-42e4-a229-c9629c957262/

code:
cast

【在 B*********L 的大作中提到】
: 我用SSIS import and export wizard 从Oracle 数据库import 50个表到sql2005. 这
: 个Package 有时候success,有时候fail, fail的时候不定在那个TABLE,但是error
: message 都一样的。
: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code:
: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native
: Client" Hresult: 0x80004005 Description: "Invalid character value for cast
: specification".
: 我试着把package 变成一个table一个Data Flow Task然后串起来RUN,但是有这个
: ERROR。
: 大家看看有什么办法呢?

B*********L
发帖数: 700
3
多谢前辈!
我照着下面这个回复改了。It works!
Maurice Maglalang Wednesday, January 23, 2008 7:25:22 AM
change ERROR OUTPUT within your dataflow task to IGNORE FAILURE on the
offending field within your source. do the same to your destination then
you'll be good to go bro...ignore those worthless answers above...l8
j*****n
发帖数: 1781
4
usually I'd like do more research to see what's the error value is. just in
case if missing some information.
you can try redirect to another text file and check.

【在 B*********L 的大作中提到】
: 多谢前辈!
: 我照着下面这个回复改了。It works!
: Maurice Maglalang Wednesday, January 23, 2008 7:25:22 AM
: change ERROR OUTPUT within your dataflow task to IGNORE FAILURE on the
: offending field within your source. do the same to your destination then
: you'll be good to go bro...ignore those worthless answers above...l8

B*****g
发帖数: 34098
5
not available for express?

in

【在 j*****n 的大作中提到】
: usually I'd like do more research to see what's the error value is. just in
: case if missing some information.
: you can try redirect to another text file and check.

j*****n
发帖数: 1781
6
don't think so... try to download full functional evaluate version for 2k8.
2k5 has 180 days, good enough.

【在 B*****g 的大作中提到】
: not available for express?
:
: in

B*****g
发帖数: 34098
7
I need free and unlimited.

.

【在 j*****n 的大作中提到】
: don't think so... try to download full functional evaluate version for 2k8.
: 2k5 has 180 days, good enough.

B*********L
发帖数: 700
8

developer edition has all functions and very cheap.

【在 B*****g 的大作中提到】
: I need free and unlimited.
:
: .

B*********L
发帖数: 700
9

in
I tried to redirect error rows to a txt file. In each run, I got complete
different rows. However, the error code and error description are same:
-1071607686,Conversion failed because the data value overflowed the type
used by the provider.

【在 j*****n 的大作中提到】
: usually I'd like do more research to see what's the error value is. just in
: case if missing some information.
: you can try redirect to another text file and check.

B*****g
发帖数: 34098
10
1. no matter how cheap, it is not free.
2. can not use for production or even test.

【在 B*********L 的大作中提到】
:
: in
: I tried to redirect error rows to a txt file. In each run, I got complete
: different rows. However, the error code and error description are same:
: -1071607686,Conversion failed because the data value overflowed the type
: used by the provider.

相关主题
Issue with SSIS export to a flat file and to importy as well请教sql server 2005,怎样在固定时间run stores procedure
input into access想report SQL Server 2008的一个不足之处--output more than 1 million rows into EXCEL
excel的数据如何导入到access/mssql?包子重酬,帮作2道题
进入Database版参与讨论
B*********L
发帖数: 700
11

才50刀。Express上,浪费的小时值多少?
另外test肯定可以。

【在 B*****g 的大作中提到】
: 1. no matter how cheap, it is not free.
: 2. can not use for production or even test.

B*****g
发帖数: 34098
12
只要是花钱,公司就不会买。

【在 B*********L 的大作中提到】
:
: 才50刀。Express上,浪费的小时值多少?
: 另外test肯定可以。

w*******e
发帖数: 1622
13
kao, 太cheap了点吧

【在 B*****g 的大作中提到】
: 只要是花钱,公司就不会买。
B*********L
发帖数: 700
14
大概也许可能找到原因了,但是不知道怎么处理。
Oracle:Character set (AL32UTF8)
SQL Server: Client character set (WE8MSWIN1252)
They are different.
现在的 SSIS import 总是随机出错。我的package里用的是defaultcodepage=1252,不
知道怎样才能选AL32UTF8。
麻烦大家指点一下,谢谢。
j*****n
发帖数: 1781
15
Here is a dummy solution....
use SSIS to export Oracle data into a text file (Delimited);
use SSIS to import this text file into your destination table. Better
predefine your destination table first, otherwise the data type may differ
when you create it while you import.
Another solution is that use data conversion component, which could do some
type transformations but is limited.
Sure, changing collations is always a pain in the S.
Let me know which one worked well for you.

【在 B*********L 的大作中提到】
: 大概也许可能找到原因了,但是不知道怎么处理。
: Oracle:Character set (AL32UTF8)
: SQL Server: Client character set (WE8MSWIN1252)
: They are different.
: 现在的 SSIS import 总是随机出错。我的package里用的是defaultcodepage=1252,不
: 知道怎样才能选AL32UTF8。
: 麻烦大家指点一下,谢谢。

j*****n
发帖数: 1781
16
Just found another thing:
AL32UTF8 ==> CodePage = 1258.
Try this.

some

【在 j*****n 的大作中提到】
: Here is a dummy solution....
: use SSIS to export Oracle data into a text file (Delimited);
: use SSIS to import this text file into your destination table. Better
: predefine your destination table first, otherwise the data type may differ
: when you create it while you import.
: Another solution is that use data conversion component, which could do some
: type transformations but is limited.
: Sure, changing collations is always a pain in the S.
: Let me know which one worked well for you.

B*********L
发帖数: 700
17
Jackrun, thank you very much for the help.
1258 works, but those random errors are not caused by codepage.I'll try the
import/export text file strategy when I have time.
1 (共1页)
进入Database版参与讨论
相关主题
SQL Server 2005 Exec( )请大家给我推荐一下SSIS的书
从SQL Server 2000升级到SQL Server 2005Issue with SSIS export to a flat file and to importy as well
白痴级别问题来了input into access
SQL Server 2008 Exp 怎么export DBF file?excel的数据如何导入到access/mssql?
Import data from excel into sql server 2000请教sql server 2005,怎样在固定时间run stores procedure
I HATE Micro$oft想report SQL Server 2008的一个不足之处--output more than 1 million rows into EXCEL
How to make import (>200M) faster?包子重酬,帮作2道题
Import 50GB data from multiple .txt file into MS SQL databasesql server 2005 问题
相关话题的讨论汇总
话题: ssis话题: error话题: import话题: export话题: wizard