我想從SQL Server中導出一些信息。 SQL在SQL Management Studio中運行良好,但是當我嘗試導出時,它給我提供了以下錯誤。 我有問題之前,與此類似,並添加SQL Server導出錯誤:0xc0202009,0xc0209029和0xc0047022
SET ANSI_WARNINGS OFF
線固定它。該行不是這次工作。
編輯: 我試着用SQL SELECT * FROM Table
仍然得到錯誤。
的SQL基本上是:
SELECT [Table]
, CASE WHEN [UserID] IS NULL THEN '' ELSE [UserID] END AS [UserID]
, CASE WHEN [fieldname] IS NULL THEN '' ELSE [fieldname] END AS [fieldname]
, CASE WHEN [fieldname] IS NULL THEN '' ELSE [fieldname] END AS [fieldname]
, CASE WHEN [fieldname] IS NULL THEN '' ELSE [fieldname] END AS [fieldname]
... more ...
, CASE WHEN [fieldname] IS NULL THEN '' ELSE [fieldname] END AS [fieldname]
CASE WHEN [fieldname] IS NULL THEN '' ELSE [fieldname] END AS [fieldname]
FROM Table
錯誤:
Messages
Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x00040EDA.
(SQL Server Import and Export Wizard)
Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "Destination Input" (174)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (174)" 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.
(SQL Server Import and Export Wizard)
Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination - Query" (163) failed with error code 0xC0209029 while processing input "Destination Input" (174). 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.
(SQL Server Import and Export Wizard)
SSIS有最糟糕的錯誤。 – HLGEM 2010-09-17 18:03:53