Configuring Server Startup Parameters in SQL Server 2012


By:   |   Updated: 2011-05-03   |   Comments   |   Related: 1 | 2 | 3 | 4 | More > SQL Server Configurations


Problem

While looking through new features and improvements in SQL Server 2012, an improvement I came across was how to configure SQL Server startup options. This is a very useful change which Microsoft has made, thereby making it easier for database administrators to change startup options. In this tip we will take a look at how easily you can change the SQL Server startup options in SQL Server 2012.

Solution

In previous versions of SQL Server, whenever a DBA had to change the SQL Server startup options he had to carefully add or modify the entries which were separated using semicolons (;). In the case where you missed adding the entries correctly, the SQL Server service will not start. In the below snippet you can see how this was done for SQL Server 2005 and SQL Server 2008 under the Advanced Tab in SQL Server Configuration Manager.

changing the start up options in sql server denali

In the new version of SQL Server, Microsoft has made configuring the SQL Server startup options an easy and simple process. Let's go through an example which demonstrates how one can configure SQL Server Startup Options.

1. In SQL Server Configuration Manager, click SQL Server Services on the left side pane.

2. In the right side pane, right click the SQL Server () Service and choose Properties from the drop down menu.

click sql server services

3. In the SQL Server Properties window navigate to the Startup Parameters tab as shown below.

  • To modify an existing parameter, select it from the "Existing parameters" list, make the change and click Update to save.
  • To add a new parameter, like a trace flag, type the new parameter and click on Add to save the change.
  • To remove an existing parameter select if from the "Existing parameters" list and click Remove.
in the sql server properties window navigate to the startup properties

4. Note that you still need to restart the SQL Server service for these changes to take effect just like older versions of SQL Server.

Next Steps


Last Updated: 2011-05-03


get scripts

next tip button



About the author





Comments For This Article





download





Recommended Reading

New Facets and Properties in SQL Server 2012

Creating a SQL Server 2012 User Defined Server Level Role

SQL Server 2012 Contained Database Feature

How to tell what SQL Server version you are running

Resolving could not open a connection to SQL Server errors








get free sql tips
agree to terms