我正在尝试使用SSIS包将数据从SQL Server导入SAP HANA。我面临以下障碍:
现在,在执行控制流任务(使用ODBC连接器将数据从源移动到目标)时,时间(0)以某种方式被解释为“二进制”源,因此会引发错误,指出列类型不匹配。 以下是堆栈跟踪:
SSIS package "c:\users\shubha\documents\visual studio 2015
\Projects\SAPHANA\SAPHANA\Package.dtsx" starting.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation
phase is beginning.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation
phase is beginning.
Warning: 0x80049304 at Data Flow Task, SSIS.Pipeline: Warning: Could
not open global shared memory to communicate with performance DLL;
data flow performance counters are not available. To resolve, run
this package as an administrator, or on the system's console.
Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for
Execute phase is beginning.
Information: 0x40043007 at Data Flow Task, SSIS.Pipeline: Pre-Execute
phase is beginning.
Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute
phase is beginning.
Error: 0x384 at Data Flow Task, ODBC Destination [2]: Open Database
Connectivity (ODBC) error occurred. SQLExecute returned error while
inserting row 1
Error: 0x384 at Data Flow Task, ODBC Destination [2]: Open Database
Connectivity (ODBC) error occurred. state: 'S1000'. Native Error Code:
-10404. [SAP AG][LIBODBCHDB32 DLL][HDBODBC32] General error;-10404
Conversion not supported for parameter/column (5), source type BINARY
and target type SECONDTIME
Error: 0x384 at Data Flow Task, ODBC Destination [2]: Open Database
Connectivity (ODBC) error occurred. state: 'S1000'. Native Error Code:
-10404. [SAP AG][LIBODBCHDB32 DLL][HDBODBC32] General error;-10404 Conversion not supported for parameter/column (5), source type BINARY and target type SECONDTIME
Error: 0x384 at Data Flow Task, ODBC Destination [2]: Open Database
Connectivity (ODBC) error occurred. state: 'S1000'. Native Error
Code: -10512. [SAP AG][LIBODBCHDB32 DLL][HDBODBC32] General
error;-10512 Row not processed due to previous error
纠正上述问题的适当目标列类型应该是什么。 TIA