autoclose: 'True' ensures that the resources are cleared when the last user logs off
1>
2> --autoclose: 'True' ensures that the resources are cleared when the last user logs off.
3>
4> CREATE DATABASE myDatabase
5>
6> EXEC sp_dboption 'myDatabase', 'autoclose', 'True'
7> GO
1>
2> Drop database myDatabase
3> GO