Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to group databases in folders in SQL Server Management Studio?

Tags:

My question comes from the frustration that I have every time I launch SSMS. We have few hundred of different databases in one server instance, from different projects and customers, and having them in one long flat tree view just does not feel very ergonomic to me.

Is there any smart way to keep them more organized? I thought, that for example being able to group them in custom folders would be a nice solutions, but AFAIK SSMS does not support it.

Being able to group stored procedures in a similar way would be a nice added value, but I'd be more than happy with being able to group databases only.

like image 468
Rodney Clark Avatar asked Dec 04 '10 23:12

Rodney Clark


People also ask

How do I group by in SQL Server Management Studio?

The SQL GROUP BY StatementThe GROUP BY statement groups rows that have the same values into summary rows, like "find the number of customers in each country". The GROUP BY statement is often used with aggregate functions ( COUNT() , MAX() , MIN() , SUM() , AVG() ) to group the result-set by one or more columns.

How do I create a folder in SQL Server Management Studio?

Right-click solution item (tree root) and from menu select Add > New Solution Folder. Step 1 now works also on any folder you added.

How file groups help in database and how we can manage and create different file group?

The filegroup contains the primary data file and any secondary files that aren't put into other filegroups. User-defined filegroups can be created to group data files together for administrative, data allocation, and placement purposes.

How do I create a directory in SQL query?

Step 1 : First of all you should select the respective filetable in which you need to create a folder and right click on it and select “Explore filetable directory” as shown in the image below. Step 2 : Once you select “Explore filetable directory”, it will open that particular filetable directory folder.


1 Answers

I have good news for all of you. There is an SSMS add-in for this. It allows to organize into custom folders all databases, stored procedures and other database objects as well. Just as if this was a native SQL Server Management Studio functionality.

The tool name is SQL Handy Groupie and can be found at www.skilledsoftware.com. Have fun.

like image 97
Sebastian Zaklada Avatar answered Oct 11 '22 09:10

Sebastian Zaklada