I have a SQL job w/ 5 steps:
1. Fetch records routine and update Table A
2. run SSIS pkg.
3. delete records from Table B
4. delete records from Table A
5. delete records from Table C
Although Step 1 ran okay, update could not perform because values were not avail. at the time. However the values became avail. when step 2 started and cont'd ok through step 5. But now step 1 did not get updated the final pkg is incomplete.
How to lock tables from changing during pkg run?
1. Fetch records routine and update Table A
2. run SSIS pkg.
3. delete records from Table B
4. delete records from Table A
5. delete records from Table C
Although Step 1 ran okay, update could not perform because values were not avail. at the time. However the values became avail. when step 2 started and cont'd ok through step 5. But now step 1 did not get updated the final pkg is incomplete.
How to lock tables from changing during pkg run?