join the MSSQLTips community

Today's Site Sponsor


 

SQL Compare quickly and easily compares and synchronizes SQL Server database schemas
 



Make time for your professional development

SQL Server 2000 vs SQL Server 2005 Startup Parameters

Written By: Greg Robidoux -- 6/28/2006 -- read/post comments -- print -- Bookmark and Share

Rating: (not rated yet) Rate

Problem
SQL Server offers the ability to use startup parameters when your SQL Server instance starts. The default items include:

  • location of  master database data file (-d)
  • location of  master database log file (-l)
  • location of  SQL server error logs (-e)

In addition, you can set startup parameters for trace flags, starting your instance in single user mode, etc...here is a link to startup options for SQL Server 2005 which is pretty similar to options for SQL Server 2000.

With SQL Server 2000 the startup parameters are available right from Enterprise Manager, but not so with SQL Server 2005.  So how do you set the startup parameters for SQL Server 2005?

Solution
With SQL Sever 2000 access to the startup parameters is available right within Enterprise Manager.  You can get to the startup parameters by right clicking on the server name and selecting "Properties".  The following screen appears and there is a great big button "Startup Parameters..." which you can click and it will allow to see and set the startup parameters.

After clicking on "Startup Parameters" you get the following window.  From here you can click on the parameter and click "Remove" to remove it or click on "Add" to add a new parameter. It is pretty straight forward.

 

With SQL Server 2005 a lot of things have been moved to other applications and are not all available through SQL Server Management Studio.  One of these things is the startup parameters.  To find the startup parameters you need to go to the SQL Server Configuration Manager tool.  This can be found in the menus through: Microsoft SQL Server 2005 -> Configuration Tools -> SQL Server Configuration Manager.

Once the application is launched you will see the following screen.

  • select the SQL Server service that you want to set the startup parameters for such as "SQL Server (TEST1)" for our example
  • right click and select "Properties" and the following window will pop up
  • go to the "Advanced" tab

  • select "Startup Properties" and the following window will pop up

  • from here you can add, change or remove your startup properties
  • note: each startup parameter is separated by a semi colon (;)
  • once you are done click "Apply" to save your changes

Next Steps

  • when you make the move to SQL 2005, now you know where to find the startup parameters
  • get familiar with setting startup parameters, these come in handy for setting trace flags and if you need to set the instance in single user mode

 

Readers Who Read This Tip Also Read Free Live Webcast Comment or Ask Questions About This Tip


Sponsor Information
Free SQL Server performance monitoring dashboard – Idera SQL check

Quickly and accurately deploy database changes with Red Gate's SQL Compare – the industry standard comparison and deployment tool.

SQL Server Consultants - What you don't know could be your biggest asset - Guaranteed Results

Do you love MSSQLTips and wish there was a SharePoint version?

Free whitepaper - Ten Things DBAs Need to Know About Storage


Get Our Tips Newsletter

We keep 50,000+ SQL Server professionals informed.

Idera - SQL comparison toolset

Idera SQL comparison toolset is a set of products that perform object and data comparison, as well as synchronization. No need to purchase two separate products…get both in a single toolset! The tools are easy-to-use and can save hours of development time and make object and data comparison and synchronization quick and easy.

Download now!



More SQL Server Tools
SQL Prompt

SQL Refactor

SQL secure

SQL diagnostic manager

SQL compliance manager




Copyright (c) 2006-2010 Edgewood Solutions, LLC All rights reserved
privacy statement | disclaimer | copyright | advertise | write for mssqltips | feedback | about
Some names and products listed are the registered trademarks of their respective owners.


CareerQandA.com | MSSharePointTips.com | MSSQLTips.com