data type converstion into SSIS?

  • I have created one SSIS package from flat file i'm getting one price value

    but in derived table i'm converting that values into (DT_DECIMAL) as i need to insert it into database.

    My problem is value is 12345.6754 but i want to take only 2 digits after decimal i.e i want 12345.67

    for that i tried (DT_DECIMAL,2)MYCOLUMN and (DT_NUMERIC,10,2) MYCOLUMN too , but then also it is giving me 12345.6754 🙁

    please help

  • This was removed by the editor as SPAM

  • ohh right lastly some where it is refereeing old column..

    but it is giving output like '50265539.0600'

    i don't want last '00' just want output as '50265539.06'

    i have used (DT_DECIMAL,2)NewColumn

  • This was removed by the editor as SPAM

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

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