Hi all,
I have a Stored Procedure that runs in less than a second when there is no load on the database. But when just a few queries are fired, this Procedure takes as much as 30 seconds. The procedure queries three tables. It's a CLR Procedure and uses Regex.
I use (NOLOCK) in all my queries, and I don't see any locks on the tables that when I run SP_Lock.
What else should I check/do to resolve this issue?
TIA,
Sheila
I have a Stored Procedure that runs in less than a second when there is no load on the database. But when just a few queries are fired, this Procedure takes as much as 30 seconds. The procedure queries three tables. It's a CLR Procedure and uses Regex.
I use (NOLOCK) in all my queries, and I don't see any locks on the tables that when I run SP_Lock.
What else should I check/do to resolve this issue?
TIA,
Sheila