MS SQL Query Loading/Timeout Question
Posted on 2014-03-10
We have a database that holds some sales records in it, and we recently changed from MS SQL Server 2008 to MS SQL Server 2012.
We noticed every morning we get a "timeout" error in our software when it's loading the Sales Order info for the first time in the day.
I then did a query for the entire table in MS SQL Server Management Studio on the server holding the DB and it took about 3 minutes to return all of the data.
After this query - the program running on the network runs fine and has no "timeout" issues - we are then fine to run the program the rest of the day without any issues...but then if we don't run the query in the morning the next day it give the timeout error again.
This DB is important but not critical, so we won't spend a ton of time on this issue, but if anybody has a quick fix that can suggest so we don't need to run that query in the morning that would be excellent.