Bonjour, je cherche à importer un fichier texte dans une table à l'aide d'integration service.
Je n'arrive pas a régler le cas des données de type DECIMAL.
Je m'explique je définit mon champ colonne2 de type DECIMAL avec un DataScale de 2.
En base de données mon champ est de type DECIMAL(8,2).
Voila l'erreur qui se produit.
Je vous met également un exemple du fichier :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 Error: 0xC02020A1 at Prestation, Flat File Source [757]: Data conversion failed. The data conversion for column "Colonne 2" returned status value 2 and status text "The value could not be converted because of a potential loss of data.". Error: 0xC0209029 at Prestation, Flat File Source [757]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "output column "Colonne 2" (782)" failed because error code 0xC0209084 occurred, and the error row disposition on "output column "Colonne 2" (782)" 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: 0xC0202092 at Prestation, Flat File Source [757]: An error occurred while processing file "E:\Migration\E_Sire\Paiement\PRESTATO.TXT" on data row 1. Error: 0xC0047038 at Prestation, DTS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Flat File Source" (757) returned error code 0xC0202092. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure. Error: 0xC0047021 at Prestation, DTS.Pipeline: SSIS Error Code DTS_E_THREADFAILED. Thread "SourceThread0" has exited with error code 0xC0047038. There may be error messages posted before this with more information on why the thread has exited. Error: 0xC0047039 at Prestation, DTS.Pipeline: SSIS Error Code DTS_E_THREADCANCELLED. Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown. There may be error messages posted before this with more information on why the thread was cancelled. Error: 0xC0047021 at Prestation, DTS.Pipeline: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread0" has exited with error code 0xC0047039. There may be error messages posted before this with more information on why the thread has exited.
Avez vous une idée, merci de votre aide.FSH,o_ch_no,50.00,19000101,19000101,0
FNSH,o_ch_no,80.00,19000101,19000101,0
ASH,o_no,35.00,19000101,19000101,0
ANSH,o_no,35.00,19000101,19000101,0
ASHN,o_no,20.00,19000101,19000101,0
ANSHN,o_no,50.00,19000101,19000101,0
SH,o_no,10.00,19000101,19000101,0
SHFEE,o_no,25.50,19000101,19000101,0
PRE,o_no,50.00,19000101,19000101,0
Partager