Use sp_dboption to change settings, which remain in effect until they are changed, for an entire database.
Displays a complete list of the database options when it is used without a parameter
Changes a database option when used with parameters
You can change options only for user databases. You cannot change options for the master database. To change a database option in a user database (or to display a list of the database options), execute sp_dboption while using the master database.
The syntax is:
sp_dboption [dbname, optname, {true | false}]