Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the default save location for SQL Management Studio 2008 [duplicate]

As the title states, how do I do this?

I want to hit save, and have SSMS automatically direct me to a network folder..

like image 480
Matt Avatar asked Jul 26 '11 04:07

Matt


People also ask

Where does SQL Management Studio save files?

The default location for files and projects is the SQL Server Management Studio Projects folder in your My Documents folder.

How do I change the master database location in SQL Server?

In the SQL Server (instance_name) Properties dialog box, select the Startup Parameters tab. In the Existing parameters box, select the -d parameter. In the Specify a startup parameter box, change the parameter to the new path of the master data file. Select Update to save the change.

How do I move a SQL database to another drive?

In SQL Server, you can move system and user databases by specifying the new file location in the FILENAME clause of the ALTER DATABASE statement. Data, log, and full-text catalog files can be moved in this way. This may be useful in the following situations: Failure recovery.


2 Answers

This is 3 years old now, but an answer for SSMS 2012 and 2014 would be helpful, so I thought I'd add an update. Step one differs between the versions, and then the rest is the same:

SSMS 2012

  1. Locate C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Extensions\Application

SSMS 2014

  1. Locate C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Extensions\Application

Both (continued)

  1. Open ssms.application.pkgdef with text editor(e.g. Notepad)
  2. Change the value of DefaultProjectsLocation
  3. "DefaultProjectsLocation"="$MyDocuments$\SQL Server Management Studio"
  4. Save the file

Thanks to this source: http://www.networksteve.com/forum/topic.php/How_to_change_the_default_query_save_location_in_SSMS/?TopicId=41425&Posts=0

like image 133
Darren Griffith Avatar answered Sep 28 '22 08:09

Darren Griffith


The correct location for 2k8 in the registry is HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell.

like image 35
Serge Avatar answered Sep 28 '22 09:09

Serge