rowcount

  • hi

    i am using 1 int32 variable in row count transformation.

    now i am using this in my script task, in footer.

    max length allow is 8, so if i get count 1234,it should display 00001234.

    how to do it with variable

  • If I get what you're saying correctly, you want to pad out your rowcount with leading zeros up to 8 characters?

    If so, you would first need to convert the rowcount to a string and then use this expression in a variable:

    REPLICATE(“0?, 8 – LEN([i]converted_rowcount[/i])) + [i]converted_rowcount[/i]


    I'm on LinkedIn

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

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