Re: SP WITH RECOMPILE option
From: Ayad (ashammout1_at_hotmail.com)
Date: 11/02/04
- Next message: Jeff Dillon: "Re: XML - Stored Procedure - Editing Passed In XML string"
- Previous message: Tibor Karaszi: "Re: How ">=" Work on Varchar field?"
- In reply to: Alejandro Mesa: "RE: SP WITH RECOMPILE option"
- Next in thread: Alejandro Mesa: "Re: SP WITH RECOMPILE option"
- Reply: Alejandro Mesa: "Re: SP WITH RECOMPILE option"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 12:23:26 -0500
There is no DDL in the SP , it is a Select statement joining a group of
tables with a sub-query (another Select statement).
Ayad
"Alejandro Mesa" <AlejandroMesa@discussions.microsoft.com> wrote in message
news:36869CBA-72C8-423D-8BFB-E50DD498C795@microsoft.com...
> 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: Jeff Dillon: "Re: XML - Stored Procedure - Editing Passed In XML string"
- Previous message: Tibor Karaszi: "Re: How ">=" Work on Varchar field?"
- In reply to: Alejandro Mesa: "RE: SP WITH RECOMPILE option"
- Next in thread: Alejandro Mesa: "Re: SP WITH RECOMPILE option"
- Reply: Alejandro Mesa: "Re: SP WITH RECOMPILE option"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|