While inserting data into a target table, I'm trying to populate a primary key ID field sequentially. For each record, the value of the primary key field needs to be incremented by one (a counter).
I've tried to use the RowCount transformation to store the values in a variable. I'm able to successfully do that; however, I don't know how to read or update the variable incrementally.
If someone knows how to perform this task, please let me know. I would greatly appreciate it.
I think this: http://www.sqlis.com/default.aspx?37 should do what you need.
As will this: http://www.sqlis.com/default.aspx?93
They both do the same thing. One uses script, one is a custom component.
-Jamie
|||
I used the script component and it does exactly what I need it to do.
Thanks, Jamie.
No comments:
Post a Comment