This article explains how to turn OFF SQL Database AUTO CLOSE function.
Due to this setting, SQL Server would “close” the database and release all resources once last connection is closed. As soon as first connection is made, it would “open” or “start” the database and make an entry in SQL Server ERRORLOG.SQL Database auto restart.
- Open SQL Management Studio
- Select your databas etc. DPLWMSSQL
- Right click > Properties
- Options > Auto Close > set to False > OK to save the changes