export comma delimited data from one source file to two destination tables

  • I have to export comma delimited data from one source file to two destination tables.

    Example

    Data in source file

    Male,mike,nj,usa(4 columns)

    Female,nansy,8(3 columns)

    Table structures

    Destination 1) tblMale

    Sex char(4)

    Name varchar(20)

    State char(2)

    Country char(3)

    Destination 2) tblFemale

    Sex char(4)

    Name varchar(20)

    Age bigint

    Output in table “tblMale”

    Male,mike,nj,usa

    Output in table “tblFemale”

    Female,nansy,8

    Thanks,

    BMR

  • You can use conditional split task to direct rows into different tables based on conditions

Viewing 2 posts - 1 through 1 (of 1 total)

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