我有以下的數據流插入到表的Mysql
我需要使用ado.net連接器
將行插入平面文件和表格,我總是得到這個錯誤
[ADO NET Destination [2]] Error: An exception has occurred during data insertion, the message returned from the provider is:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
'"utilisateur_id", "nom", "prenom", "type" at line 1
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ADO NET Destination" (2) failed with error
code 0xC020844B while processing input "ADO NET Destination Input" (9). 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.
我試過尋找答案,發現這個鏈接http://blogs.msdn.com/b/mattm/archive/2009/01/07/writing-to-a-mysql-database-from-ssis.aspx
但我做了不知道如何解決它。有沒有更簡單的方法來做到這一點?
你可以在這裏發表您的MySQL查詢? –
@ user876345我更新我的問題。 – user3014966
將目標列更改爲文本或字符串類型。這將使這項工作取得成功。您可以檢查正在傳輸的數據並確定如何繼續。 – Tarzan