RE: SP WITH RECOMPILE option
From: Alejandro Mesa (AlejandroMesa_at_discussions.microsoft.com)
Date: 11/02/04
- Next message: Prabhat: "Re: How ">=" Work on Varchar field?"
- Previous message: Prabhat: "Re: How ">=" Work on Varchar field?"
- In reply to: Ayad: "SP WITH RECOMPILE option"
- Next in thread: Ayad: "Re: SP WITH RECOMPILE option"
- Reply: Ayad: "Re: SP WITH RECOMPILE option"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 09:04:02 -0800
How can we know if you did not provide any DDL, sample data, etc.?
Please provide DDL and sample data.
http://www.aspfaq.com/etiquette.asp?id=5006
AMB
"Ayad" wrote:
> 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: How ">=" Work on Varchar field?"
- In reply to: Ayad: "SP WITH RECOMPILE option"
- Next in thread: Ayad: "Re: SP WITH RECOMPILE option"
- Reply: Ayad: "Re: SP WITH RECOMPILE option"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|