I have a Stored Procedure that is constantly failing with the error message \"Timeout expired,\" on a specific user.
All other users are able to invoke the sp just f
Some thoughts...
Reading the comments suggests that parameter sniffing is causing the issue.
This could happen if this user has far more rows than other users, or has rows in another table (so a different table/index seek/scan would be better)
To test for parameter sniffing:
To fix: Mask the parameter
DECLARE @MaskedParam varchar(10)
SELECT @MaskedParam = @SignaureParam
SELECT...WHERE column = @MaskedParam
Just google "Parameter sniffing" and "Parameter masking"