I enable dark theme in ssms but the query resuly window and registered servers window are still white. Is exists any solution to change it?
As far as I know there is no solution for this.
But maybe you want to give "SQL Operations Studio" (a fork of VS Code, also from MS) a try.
This new tool provides a dark theme as expected.
Look here for a short comparison:
http://blogs.adatis.co.uk/plamenamincheva/post/SQL-Operations-Studio-Vs-(good-old)-SSMS
Related
So I messed up my sql server management studio when I was trying to make it have a "dark theme" as I use it a lot and it was starting to wear on my eyes. While doing this, I specified for the output window to have a black background with white text. Then I realized that the output window wouldn't give me a black background anyway, sigh, but it would give me white text. So now I have this lovely problem where there is white text on a white background that can only be faintly seen when highlighting the results...
It's very annoying. I know I was stupid to try to give SSMS a "theme" but I had to try something.
So now the problem. When I go back in to try to edit the settings for the output window (Tools -> Options -> Environment -> Fonts and Colors -> Output Window) to try to restore defaults or change any color, SSMS crashes.
Does anyone know how to reset all styles for SSMS, or change a specific style (like making text black again) or anything? I really don't want to have to reinstall SQL Server.
This is SQl Server Management Studio 2014
Had the same issue as you but found the solution.
Choose another option under "Show settings for:" after you reset the "Use Default" for "Text Editor" and before clicking on OK.
MS SQL Server Forum post
Just in case if you still haven't get your answer, you should be changing Grid Result instead of Output Window.
I have a solution in Visual Studio 2013, where among the others I have also a Database project. This project contains some .sql written in T-SQL.
IntelliSence and Parse (SQL (on visual studio menu) > Parse) do not work. I have gone through this Troubleshooting guide and many question on SO, but nothing worked.
As I understand is something in project setting that I need to configure or some leftovers I need to clean.
Any suggestions ?
In brief
IntelliSence is enable
SQL CMD is Disabled
In SQL Server Explorer there is an entry (localdb)\ProjectsV12 containing my DB.
Other solutions opened on the same instance of visual studio work fine
ReSharper is installed but is not the issue (I also tried without it)
Note:
The solution (the one that has issues) was created in a previous version of Visual Studio.
Update 15/12/2015
After some digging I found out that the issue may has something to do with the .v12.suo file (which is located alongside with .sln file and is hidden). Copping this file from a similar solution (one that IntelliSence works) eliminates the problem.
Another workaround that it may help, is to go to the "Database Project" properties (right click on the project in Solution Explorer and then select Properties), on the Debug tab and press Restore Default in "Target Connection String". In my case this just changes the Initial Catalog= value to Database and like "magic" IntelliSence works again! (in some cases it may need to restart the Visual Studio)
After this even if I restore (using Edit) the "Target Connection String" to the previous values the IntelliSence continues to work.
I am running Windows 7 and Microsoft's SQL Server Management Studio 2012 (Version build 11.0.5058.0).
I know that the available toolbars can be customized, but every time I close SSMS and reopen, it resets the default toolbar sets that I had showing and their arrangement.
Is there a way to set a default set of toolbars and their arrangement that display when I start the program?
Thank you in advance!
I had a similar issue with defaults in SQL server. I followed the steps below
Within Management SQL Server Management Studio, select “Window” from the top menu bar.
Select “Reset Window Layout”.
Answer “Yes” to the question confirming the layout reset.
I'm able to customize the toolbars and then exit out and come back in with the changes showing.
There are a number of great blogs on how to customize the toolbars. Here's one that I used:
http://www.c-sharpcorner.com/UploadFile/rohatash/customize-menu-and-toolbar-in-sql-server-2012/
Sorry I couldn't help more!
The format selection command isn't working in SQL server management studio 2008 for me and I'm wondering if anyone might know how to get it working. I don't know if it was ever working.
Do you have any add-ins installed? For me Ctrl+K, Ctrl+F brings up the SSMS Tools Pack find dialog. So perhaps this is happening because an add-in has taken over the keyboard combo.
Also, what is your keyboard scheme under Tools > Options > Environment > Keyboard? If this has been switched to "SQL Server 2000" you might try switching it back to Standard.
Finally, I believe there are cases where the keyboard shortcuts can get messed up depending on the co-existence and order of install for Visual Studio / BIDS etc.
IN SQL SERVER 2014
First do: Ctrl +K
Then: Ctrl+ Y
I know this post is really old, but for people searching for answers to this question I have this to add:
The Ctrl+K, Ctrl+F key combination for format code comes from poorsql.com. They have a SSMS/Visual Studio plugin. As of this date they currently support up to SSMS 2017.
This feature isn't available on SQL Server Management Studio.
There are various add-on's you can use to do this. I personally use ApexSQL. It gives you the option to create your own format template, so that your code is always easily readable for you.
Check this link:
http://www.mssqltips.com/sqlservertip/2413/sql-server-management-studio-keyboard-shortcuts-part-1-of-2/
...You can select specific lines and hit CTRL+K
followed by CTRL+C to comment it out and
CTRL+K followed by CTRL+U
to uncomment it out...
I have a scripted database SQL file that I need to execute inside Visual Studio to create a new database. I am so far unable to locate any function that allows me to do this.
Go to server explorer in VS, right click on server and select run query.
Do you mind telling us why it has to be run inside VS?
In addition, the database projects offers a lot of features that are worth looking at:
http://www.informit.com/articles/article.aspx?p=31764 //old article but still worth reading.
http://www.ssw.com.au/ssw/standards/BetterSoftwareSuggestions/Images/VisualStudio_DataDude_SchemaCompare.gif
http://www.emadibrahim.com/2008/07/10/database-schema-compare-upgrade/
There is a green arrow of play on the upper left corner of the window query. And down the tabs of the names of open files in VS. Just click to play and ready.