Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Query Stuck causing Locks, but I see SP:StmtCompleted in SQL Profiler

$
0
0
Hi,I am experiencing an lock issue.The head blocker query is the following:INSERT INTO DIMENSIONHIERARCHYLEVEL (DIMENSIONHIERARCHY,DIMENSIONATTRIBUTE,LEVEL_,TEMPORARYDIMENSIONHIERARCHYLEVEL,RECVERSION,PARTITION,RECID) VALUES (@P1,@P2,@P3,@P4,@P5,@P6,@P7)Pretty simple huh ?In my troubleshooting, I ran SQL Profile and executed the function in the system. I can see the following eventclassSP:StmtCompletedRPC:CompletedMy understanding is that StmtCompleted indicates that a Transact-SQL statement has completed. However, I can not see the record in my table. Not seing the record makes sense because the query seems to be stuck (i don't know why), but I dont understand why i would have StmtCompleted for that query.What am I missing ?Thank you

Viewing all articles
Browse latest Browse all 3145

Trending Articles