Hi Guys,
I am working on a package to load a fact table "A". In my Data Flow Task I am comparing the latest loaded and latest updated records from Staging area with already existing records in Fact table "A". To compare I am using CozyRoc table difference transformation to detect changes. And then accordingly the data is inserted into fact table "A".
Problem lies with Select statement blocking Bulk Insert. Since I am using OLEDB Source to select data from fact table "A" and after comparing inserting into same fact table "A", it is causing the select statement blocking the bulk insert statement prepared by OLEDB Destination. I can see the spids in activity monitor and have verified the scenario.
I have tried using NO LOCK hint in select statement in my OLEDB source sql query, but no luck. It justs enters into deadlock.
Any guidance will be helpful.
Thanks, Pulkit Ojha Microsoft Business Intelligence Developer