none
Importar dados Acces para SQL Server RRS feed

  • Pergunta

  • Bom dia

    Estou tentando importar os dados de um arquivo acces (.accdb) para o meu sql server 2008, estou tentando utilizar o 'Import ans export data' do SQL Server mas não estou conseguindo.

    Alguém pode me ajudar?

    Obrigado

    quarta-feira, 3 de abril de 2013 18:18

Respostas

  • Thiago,

    Bom base, na mensagem de erro: 

    Error 0xc020901c: Data Flow Task 1: There was an error with input column "datainiint" (669) on input "Destination Input" (620). The column status returned was: "Conversion failed because the data value overflowed the specified type.".
     (SQL Server Import and Export Wizard)

    Verifique o campo DatainiInt que esta gerando o erro de conversão de dados, pois o valor que esta sendo passado esta acima da faixa de valores suportados pelo tipo de dados.


    Pedro Antonio Galvão Junior [MVP | Microsoft Evangelist | Microsoft Partner | Engenheiro de Softwares | Especialista em Banco de Dados | SorBR.Net | Professor Universitário | MSIT.com]

    quinta-feira, 4 de abril de 2013 16:54
    Moderador

Todas as Respostas

  • Thiago, boa tarde!

    Qual erro vocês está tendo?


    /* Se útil por favor classifique a resposta */

    quarta-feira, 3 de abril de 2013 18:26
  • Ola Luan

    Mudei o tipo do arquivo (.accdb) para .mdb, ele começa a fazer a importação, no meio do processo quando ele esta copiando uma tabela aparecem os seguintes erros no log:

    Copying to [dbo].[TABELA ACATADAS FAG ANUAL] (Error)
    Messages
    Information 0x402090df: Data Flow Task 1: The final commit for the data insertion in "component "Destination 2 - SGO" (256)" has started.
     (SQL Server Import and Export Wizard)
     
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "Invalid date format".
     (SQL Server Import and Export Wizard)
     
    Error 0xc020901c: Data Flow Task 1: There was an error with input column "datainiint" (669) on input "Destination Input" (620). The column status returned was: "Conversion failed because the data value overflowed the specified type.".
     (SQL Server Import and Export Wizard)
     
    Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "Destination Input" (620)" failed because error code 0xC020907A occurred, and the error row disposition on "input "Destination Input" (620)" 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 4 - TABELA CONSULTA FAG anual" (607) failed with error code 0xC0209029 while processing input "Destination Input" (620). 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 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 component "Source 3 - TABELA ACATADAS FAG ANUAL" (340) 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)
     
    Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Source 4 - TABELA CONSULTA FAG anual" (493) 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)

    obrigado

    quarta-feira, 3 de abril de 2013 19:02
  • Thiago,

    Bom base, na mensagem de erro: 

    Error 0xc020901c: Data Flow Task 1: There was an error with input column "datainiint" (669) on input "Destination Input" (620). The column status returned was: "Conversion failed because the data value overflowed the specified type.".
     (SQL Server Import and Export Wizard)

    Verifique o campo DatainiInt que esta gerando o erro de conversão de dados, pois o valor que esta sendo passado esta acima da faixa de valores suportados pelo tipo de dados.


    Pedro Antonio Galvão Junior [MVP | Microsoft Evangelist | Microsoft Partner | Engenheiro de Softwares | Especialista em Banco de Dados | SorBR.Net | Professor Universitário | MSIT.com]

    quinta-feira, 4 de abril de 2013 16:54
    Moderador