Data Conversion in ssis

  • Hi ,

    I am using flat file as source.I have quantity column in flat file which is a Numeric datatype and target table quantity datatype is Numeric.

    I am able to load data from source to target but when I am comparing data from source to target I am not getting exact record from source flat files

    Source having data like

    Source >> Target

    31.61 >> 31.0000000000

    00029.430 >> 29.0000000000

    as we can see that data are not matching with source

    I can not change the target table quantity data type, is there any thing which I can do with source column data type.

    Thanks in advance 🙂

  • Data in flat files does not have a data type.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

  • It is having Numeric data type

  • By changing the scale value of column data coming correctly

    Thanks

  • vipin_jha123 (11/17/2015)


    It is having Numeric data type

    Only because that is what is assigned to it by SSIS. You can change this.

    But I say again: flat file columns have no (explicit) data type.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

Viewing 5 posts - 1 through 4 (of 4 total)

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