Importation des donées via un ficher excel

Fermé
0548 Messages postés 73 Date d'inscription samedi 21 mars 2015 Statut Membre Dernière intervention 19 janvier 2017 - Modifié par 0548 le 22/09/2016 à 14:50
 Utilisateur anonyme - 23 sept. 2016 à 00:49
Bonjour,
j´ai un fichier Excel qui contient 1 000 000 lignes et j´ai voulu importer les données qui se trouve dans ce fichier afin de creer une table et ce en utilisant SQL Server Management Studio. Dans mon fichier il y´ a il y´ a deux colonnes de types varchar, trois colognes de types entier et deux autre de types float:.
Mais j´ai ce sage d´erreur:

"Messages
Error 0xc02020c5: Data Flow Task 1: Data conversion failed while converting column "cn" (26) to column "cn" (83). The conversion returned status value 2 and status text "The value could not be converted because of a potential loss of data.".
(SQL Server Import and Export Wizard)

Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Data Conversion 0 - 0.Outputs[Data Conversion Output].Columns[cn]" failed because error code 0xC020907F occurred, and the error row disposition on "Data Conversion 0 - 0.Outputs[Data Conversion Output].Columns[cn]" 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 "Data Conversion 0 - 0" (67) failed with error code 0xC0209029 while processing input "Data Conversion Input" (68). 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)

Error 0xc02020c4: Data Flow Task 1: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
(SQL Server Import and Export Wizard)

Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Source - large_csv returned error code 0xC02020C4. 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.
(SQL Server Import and Export Wizard)"

PS. une des colonnes et qui est de types entier ce nomme "cn".





A voir également:

1 réponse

Utilisateur anonyme
23 sept. 2016 à 00:49
hello,

on dirait que ton import ne fonctionne pas à cause de valeurs nulles...

Regardes ceci :
http://ddkonline.blogspot.com/2009/07/fix-for-ssis-error-conversion-returned.html

A+

0