How to import dbf files with SSIS in a directory

  • Hello!

    I want to import dbf files with SSIS package in a directory.

    I created SSIS package with this link[/url]

    But, how to more dbf files import to a table of SQL Server with SSIS package?

    Thanks!

  • What is your question exactly? Do you encounter any errors?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Hello!

    Thanks your replay.

    Please see this link: http://salliven.site11.com/dbf_load/

  • salliven (12/10/2011)


    Hello!

    Thanks your replay.

    Please see this link: http://salliven.site11.com/dbf_load/%5B/quote%5D

    I'm sorry, but for some reason, your site is blocked by my company's firewall.

    Can you post the details here? You can post pictures by adding them in the attachment of your reply.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Hello!

    Thanks your replay!

    Those pictures are here:

    1.)

    2.)

    3.)

    4.)

    5.)

    6.)

    7.)

    8.)

    9.)

    10.)

    11.)

    12.)

    13.)

    14.)

    15.)

    16.)

    17.)

    18.)

  • Well, since you are linking to the pics on your site, I still can't see them.

    You need to add them in the attachment of your reply.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Those pictures are here.

  • If I understand it correctly, you point your connection manager to a dbf file, but also your source table (through a variable). Why is that?

    The variable that you populate contains the filepath to the dbf file, not to a certain table.

    Furthermore, be aware that SSIS doesn't like changing metadata. You cannot loop over tables and use the same dataflow, if the metadata of each table is different.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Thanks your replay!

    I want to load all DBF file from a directory (and import a table of SQL server database every Monday).

    Is it possible with SSIS?

  • OK, disregard my question about the connection manager. It is not pointed at a dbf file, but at the folder that has those dbf files.

    Regarding the error:

    you probably get that error because the variable doesn't have a value, hence it cannot find a table.

    But as I said before, if the metadata changes for each dbf file, you cannot use one single dataflow with SSIS out-of-the-box. You need to create a dataflow for each dbf file.

    CozyRoc has a commercial component, dataflow+ if I'm not mistaken, that can handle changing metadata. If using 3rd party components is not an option, then you'll need to script it out using .NET.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Thanks your replay!

    The name of dbf files always change (tavszall + YYYY-MM-DD + .dbf; Example: tavszall2011-12-11.dbf).

    If I understand you, then I cannot use simple datafollow task this exercise.

    Thanks your answer!

  • Deleted.

Viewing 12 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic. Login to reply