Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

Stagin stored procedure deadlock

$
0
0

Hello ,

We have SSIS packages to import/load data to master data tables.We have SQL jobs scheduled for this task.

Since, there are two different packages which executes loading stored procedure (i.e [stg].[udp_entityname_Leaf]) deadlock occurs stating error as :

Error message : Executing the query "exec [stg].[udp_Entityname_Leaf]  @Versio..." failed with the following error: "Transaction (Process ID 85) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

Because of which , I can see some data loss also.

Kindly help me out with this situation.

Is there anything we can do to this SP to Lock it when in use? but since it is product SP I haven't modified anything.



Thanks & Regards, Sagar


Viewing all articles
Browse latest Browse all 1311

Trending Articles



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