KSI
Active Member
We are getting database locks on the F4801 table as user JDE. This lock sometimes lasts too long, and blocks several other queries while it lasts. We have to manually kill the spid. Othertimes, the same query blocks a short time and clears on its own. We don't know what is causing the long blocks.
We are running 1-to-1 JDE userIDs to SQL user logins, and most DB locks show under the user login. We can't determine why this lock still shows as JDE (originating from our web app server, not the batch server).
Here's the SQL query:
(@P1 char(2),@P2 char(8),@P3 char(5))SELECT * FROM JDE_PRODUCTION.PRODDTA.F4801 WHERE ( WARCTO = @P1 AND WARORN = @P2 AND WARKCO = @P3 ) ORDER BY WARORN ASC,WARCTO ASC,WARKCO ASC
Anyone have an idea where this query may be coming from, or why it still shows as a JDE user?
Thanks,
KSI
We are running 1-to-1 JDE userIDs to SQL user logins, and most DB locks show under the user login. We can't determine why this lock still shows as JDE (originating from our web app server, not the batch server).
Here's the SQL query:
(@P1 char(2),@P2 char(8),@P3 char(5))SELECT * FROM JDE_PRODUCTION.PRODDTA.F4801 WHERE ( WARCTO = @P1 AND WARORN = @P2 AND WARKCO = @P3 ) ORDER BY WARORN ASC,WARCTO ASC,WARKCO ASC
Anyone have an idea where this query may be coming from, or why it still shows as a JDE user?
Thanks,
KSI