SP WITH RECOMPILE option
From: Ayad (ashammout1_at_hotmail.com)
Date: 11/02/04
- Next message: Prabhat: "Re: How ">=" Work on Varchar field?"
- Previous message: Prabhat: "Re: Index Seek (or) Index Scan in Execution Plan"
- Next in thread: Alejandro Mesa: "RE: SP WITH RECOMPILE option"
- Reply: Alejandro Mesa: "RE: SP WITH RECOMPILE option"
- Reply: Adam Machanic: "Re: SP WITH RECOMPILE option"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 11:47:47 -0500
I have a web application with a back end SQL server db. Every time the users
login to the web site, they execute a SP.
The issue is that the user is getting a time-out error message when they
call the SP. If I add the WITH RECOMPILE option to the SP, they don't get
the time-out error but on the SQL server it cause a COMPILE x lock on the SP
and slow down the application but they get in.
Why if I remove the WITH RECOMPILE option, the user will get a time-out
error?
Thanks
Ayad
- Next message: Prabhat: "Re: How ">=" Work on Varchar field?"
- Previous message: Prabhat: "Re: Index Seek (or) Index Scan in Execution Plan"
- Next in thread: Alejandro Mesa: "RE: SP WITH RECOMPILE option"
- Reply: Alejandro Mesa: "RE: SP WITH RECOMPILE option"
- Reply: Adam Machanic: "Re: SP WITH RECOMPILE option"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading