I am having an issue with the SQL Server Management Studio, hiding some text on a Window. I am using SQL Server 2019. Example below when trying to partition a table using the Wizard.
The image below shows is what I can see. There're two checkboxes that I am not able to see, whether the window is maximized or not. I changed to different screen resolutions and still no success.
When I open SQL Server 2012 Management Studio and start typing a query the intellisense does not work for some time until I wait for the following info banner to appear on the lower right corner of Windows 7 (or later).
Question: How can we disable the display of the following banner so it does not interfere in the appearance of intellisense - or are there any workarounds to resolve the issue?
Sorry for a noob question, but this is driving me nuts!
Some windows are of a disproportionate size in SQL SSMS and I need to reset them. I recently replaced my old development laptop with a new one and I did a fresh install of Windows 10, Visual Studio 2015 Enterprise, and SQL Server 2014 Enterprise. When I initially installed management studio, my laptop's screen resolution was set at 2880x1620 with "Change the size of text, apps, and other items" set to 200%. I've now docked my laptop and adjusted the built-in display to 1920x1080 and 100% and when I start management studio the dialog windows are huge! They're so big in fact that many of the text boxes overlap each other.
Is there any way to reset SMS to factory defaults?
The login window:
The new db window:
The problem you're running into occurs because SSMS has not been optimized for High-DPI displays. You can try the recently released SSMS November preview release that has initial support for High-DPI displays.
I'm wondering if there's a way to debug a stored procedure at the time it's called from .NET code? What are my possibilities?
I'm using Visual Studio 2013 Community Edition and SQL Server 2014
I have managed to figure it out myself.
It's quite similar to what you can find in VS 2010.
I had to import database as a project to my solution.
Turn on SQL Debugging in my application project properties.
Re-open my project.
Connect to my SQL Database through SQL Server Object Explorer.
Right click on my SQL Server I connected to earlier and check "application debugging".
Find SP I wanted to debug, double click on it, set my breakpoint (it says it will not be hit, but eventually it will).
Launch my application using debugger.
Everything now works as expected, the debugger stops at my breakpoint with no problem.
I don't suppose there's a way to emulate a FireFox-type of setup, whereby if I close SQL Server Management Studio (2008) my open tabs will be there again when I restart? I know I can save the individual windows into a .sql file but was wondering if there was a way for those tabs to reopen with the text in them on their own.
Any third party tools that do something like this, perhaps? Thanks for the advice.
-Larry
There is a built-in way to do mostly this, but it is not going to open any random tabs that were there when you closed SSMS.
You can create a Solution in SSMS and save it with any set of SQL scripts. This works much like Visual Studio. You can even save connections (server + login info). The FILE menu has options to "Close Solution" as well as "Open Project/Solution" and "Recent Projects and Solutions".
So, if you create a Solution, add some Queries (i.e. .sql scripts), and then close the solution either via the FILE menu or just closing SSMS, when you open that Solution again it will restore the tabs that you had open at the time the Solution / SSMS was closed.
I just tested this in SSMS 2012, though it might have started as far back as SQL Server 2005. Even if not in 2005, this feature should definitely be in 2008 / 2008 R2.
Not exactly as open-ended as the FireFox / Chrome feature as it requires a defined Solution with defined .sql files, but definitely close.
SSMS Tools pack (free up to SSMS 2008, for SSMS 2012 as paid upgrade)
Red Gate Tab Magic (no more standalone)
SQL Prompt
How about running the Studio inside a VMWare and simply suspend the VMWare between sessions?
For my development purposes I use a VMWare that only runs an instance of SQL Server and the Mangement Studio. Maybe it's overkill for DB development but it helps in testing the integration of the database into a networked environment.
Redgates SQLPrompt does exactly this. When you close you session (on purpose or if the session crashes), all previously open tabs will launch automatically when SSMS is reopened. If you choose not to automatically launch these tabs, they’re still available via the Tab History option.
The tool does cost money but the intellisense and Snippets feature that accompany it makes it value for money.