Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Wierd behaviour of trigger after loading with SSIS - OK with DTS

$
0
0

I have an SSIS package that loads records into a SQL table using an OLE DB Destination (NOT using fastload). The table has a simple INSERT trigger on it which looks for a value in a column ie. 'EOF'; this is set on the last row loaded. On encountering this row the trigger fires an UPDATE for the rows that have just been loaded (they have a common field value). The UPDATE statement only updates the first row that has been loaded, instead of all the rows just loaded. Running exactly the same process using a DTS package works as expected ie. the trigger updates all of the rows.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>