Answer by Stefan Herijgens for SQL Query Will Time Out
I'll make an answer from my comments as well:I think your 'LEFT JOIN' is the killer. For now, change it into a normal 'JOIN'. Does it still time out? :) And you might want to create a view with the...
View ArticleAnswer by nikolai.serdiuk for SQL Query Will Time Out
It is not clear what DB you using, but in case of SQL server:Limit the count of returned recors (TOP clause)use hint NO LOCK to improve speed of the queryincrease command timeout of your query, but no...
View ArticleSQL Query Will Time Out
I don't know how to stop my query from timing out. I have two tables. One with payment details including a postcode field. Example of payments table;id (PRI) | company_name | amount | postcode1 ACME...
View Article
More Pages to Explore .....