IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Outils SQL Server Discussion :

Integration Service décimal


Sujet :

Outils SQL Server

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Candidat au Club
    Inscrit en
    Mars 2007
    Messages
    2
    Détails du profil
    Informations forums :
    Inscription : Mars 2007
    Messages : 2
    Par défaut Integration Service décimal
    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.

    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.
    Je vous met également un exemple du fichier :

    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
    Avez vous une idée, merci de votre aide.

  2. #2
    Membre averti
    Profil pro
    Inscrit en
    Juin 2003
    Messages
    13
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2003
    Messages : 13
    Par défaut Integration Service décimal
    Bonjour,
    je te conseille de prendre le ";" comme séparateur et d'utiliser la virgule pour les décimaux:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    FSH;o_ch_no;50,00;19000101;19000101;0
    Cordialement.

Discussions similaires

  1. Erreur sous Integration Services avec requête AS400
    Par jhellier dans le forum MS SQL Server
    Réponses: 3
    Dernier message: 09/04/2009, 15h51
  2. utilisation d'integration services
    Par freestyler dans le forum MS SQL Server
    Réponses: 5
    Dernier message: 07/05/2007, 02h36
  3. MS SQL Server Integration Services (SSIS)
    Par billyrose dans le forum MS SQL Server
    Réponses: 8
    Dernier message: 11/04/2007, 21h30
  4. SQL Server Integration Services
    Par attouchi dans le forum MS SQL Server
    Réponses: 3
    Dernier message: 18/07/2006, 12h58
  5. utilisation integration services MSSS05
    Par Cape31 dans le forum MS SQL Server
    Réponses: 2
    Dernier message: 15/05/2006, 17h37

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo