Hello,
I've found few question related to this and tried to implement those solutions (using vb.net code, etc) but was not successful. Please go through my question and help me.
I am loading a sql server table from a flat file. Currently I am hard coding a column of the sql server table with 0. Now, I want to change it to a incremental column.
Example, if I load the table today with 5 records, this column should have values 1,2,...5 and tomorrow when I load with 3 records, this column should have values 1,2,3. So, for every date, there will records starting from 1 to n.
I tried below solution which seemed very promising, but it didn't work.
http://www.sql-server-performance.com/2008/ssis-auto-increment/
This is a production issue. Any help is highly appreciated.
Thanks in advance.