Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Re: Different execution plans from c# code and MSSQLServerManageme
Hi Wayne,

> Look at using the "WITH RECOMPILE" option when creating or running your pr
ocedure
> and see if that keeps the performance stable.

As reproducong the original situation is not as simple as I'd like to,
I still have to wait and see if we get into trouble with the WITH
RECOMPILE option.

In some troublesome procedures I included the WITH RECOMPILE option, in
others I included WITH(INDEX(...)) hints.

Now I'm waiting to see if any of them start behaving badly.

I observed though that WITH RECOMPILE slows down the execution a little
bit.

OTOH it will always produce optimized execution plans. Right?

Greetings,
Csaba


Report this thread to moderator Post Follow-up to this message
Old Post
csaba.trucza@gmail.com
03-31-06 12:24 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 07:21 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006