I am using SQLBulk copy operation from .NET C#.
Tables has a column named as ID. Its data type is int.
I want something like a trigger or exactly a trigger which inserts the same ID value for every bulk copied record.
This ID value should be maximum id value existing in the table +1.
Is there any way to do this.
I dont want my application to hit the table first before bulk copy and get the maximum id available and then pass that id+1 while doing bulk copy.