데이터를 .CSV에서 FLOAT 데이터 형식의 열로 가져 오는 데 문제가 있습니다. 나는 데이터 변환 작업을 사용하여도 직접 연결하고 시도했지만, (두 경우 모두) 그것은 변환 할 수 없다는 것을 말해 유지 :SSIS - 파생 열을 사용하여 부동 문자열 변환
Error: 0xC02020C5 at DC_Weekly_Cost_Target csv to FatzWklyCst_Target, Data Conversion [156]: Data conversion failed while converting column "Target" (22) to column "Copy of Target" (163). The conversion returned status value 2 and status text "The value could not be converted because of a potential loss of data.".
내 연구가 파생 열 변환을 사용하여 저를 주도 편집자.
위 내가 데이터 형식 플로트로 문자열 (대상 및 폐기물) 변환을 시도하고있어 어떻게 : 내가 제대로 "표현"부분을 사용하는 방법을 통해서 나를 걸어 몇 웹 사이트를 발견했다. 편집기를 사용할 때 오류 메시지를받을 수없는 나는 패키지를 실행하려고 할 때 그러나, 나는 오류를 수신하고 (즉, 그것은 나 오류없이 OK CLIK하게됩니다) :
Error: 0xC0049064 at DC_Weekly_Cost_Target csv to FatzWklyCst_Target, Map Target in correct datatype 1 1 [222]: An error occurred while attempting to perform a type cast.
Error: 0xC0209029 at DC_Weekly_Cost_Target csv to FatzWklyCst_Target, Map Target in correct datatype 1 1 [222]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "component "Map Target in correct datatype 1 1" (222)" failed because error code 0xC0049064 occurred, and the error row disposition on "output column "Target_Float" (227)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
Error: 0xC0047022 at DC_Weekly_Cost_Target csv to FatzWklyCst_Target, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Map Target in correct datatype 1 1" (222) failed with error code 0xC0209029 while processing input "Derived Column Input" (223). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
이것은 내 Derived Column Transformation Editor를 사용하여 처음으로. 내가 잘못하고있는 것을 누군가가 볼 수 있습니까? 또는 .csv 파일에서 데이터 유형 float 열로 데이터를 가져 오는 가장 좋은 방법은 무엇입니까? 누구든지 저에게 줄 수있는 도움에 감사드립니다.
목적지는 어디입니까? –
@JeffOrris : 대상이 정신병자이므로 SSIS입니다. – siride
OLE DB 대상 작업을 사용하여 레코드를 데이터베이스 테이블에 삽입하려고합니다. – Wendy