Defining Database Properties


By:

Overview

In this next section will go over the properties that can be set for your database deployment.

Explanation

Double clicking the Database.sqlsettings file in the Solution Explorer presents the following screen:

Double clicking the Database.sqlsettings file

Here is where you can define various options such as the default database collation and the default recovery model for each deployment.

Bear in mind that if you're deploying to refactor an existing database, these options will override the existing options that may have been manually set after initial deployment. For instance, if you were to set SET NUMERIC_ROUNDABORT to on after deployment, the deployment will reset it back to false (if false was your original deployment option). Thankfully, this can be controlled as we are about to see in the next slide.






Comments For This Article

















get free sql tips
agree to terms