How to open Query Analyser (window) in Aqua Data - sql

To open Query Analyser (QA) in Aqua Data Studio (ADS), I now right-click a table in de navigationpane en then select Script Object To Window As followed by SELECT
This is becoming cumbersome. Is there an easier why to accomplish this?

Before trying to open Query Analyzer, make sure you are connected to a server first!
To open QA in ADS, do one of the following:
Use the computer keyboard command: Ctrl+Q
(or Ctrl+Shift+W to open QA in a separate window).
Click Server on the Toolbar and select Query Analyzer.
In the navigation-bar, Right-click any node that is showing under your connected server and select Query Analyzer.

Related

How to find SQL Query Plan (Performance\Optimization) using visual studio IDE?

How to find SQL Query Plan (Performance\Optimization) using visual studio IDE?
Step1 :
Add connection from Tools menu
Step2:
click new query and select include actual execution plan as highlighted below in image
To view the execution plan for a query
Open Visual Studio 2010
On the Data menu, select the Transact-SQL editor and connect.
If there is no query in the query pane, open a saved query or create a new query.
Right-click the editor, and then click Display Estimated Execution Plan.
A graphical representation of the execution plan is displayed. You can position the pointer over graphical elements to reveal additional execution plan information.
On the Transact-SQL Editor toolbar, click Execute SQL.

Edit arbitrary database values with the SQL Server Management Studio GUI

In MySQL Workbench, as long as you can display a row, you can edit it by typing in the cells.
Is there any way to do that with SQL Server Management Studio? SSMS seems limited to providing a GUI editor for the top 200 entries.
You can edit the query used to display the rows to edit by opening the "Query Designer" menu and selecting "Pane"->"SQL".
Once you've made your changes open the "Query Designer" menu and click "Execute SQL".
(Note these commands are also available on the toolbar and have hotkeys associated with them by default).

SMSS IDE: Addon to colour tab or background by server?

I haven't been able to find anything that can colour the background and/or add a tab bar to the SMMS IDE to better identify the difference between prod, test and dev servers. SMSS Tools appears to be the only plugin trying to do this but I'm yet to see it work (appears to be a common problem based on my searches).
Just wondering if anybody knows of an addon (paid or free) that accomplishes this?
All version of SSMS since at least SQL Server 2008 R2 (and I think 2008) include a built-in ability to change the colour of the connection bar at the bottom of a query window - when setting up a new connection for a query, click the Options >> button, then set the colour by ticking use custom colour (then selecting your chosen colour) on the Connection Properties tab.
I've had SSMS Tools Pack connection colouring working but I prefer the built-in option.
EDIT
I just tried SSMS Tools pack colouring again, and I agree it appears not to be working in the current verion (2.1.0) in SSMS 2008 R2.

Query Designer toolbar grayed out?

I am using the Query Designer in SQL Server Management Studio (on an Express 2008 database). I created a new Query, chose Design Query in Editor from the Query toolbar and was presented with a cool graphical query designer (a bit like the one in ACCESS). I selected the fields, which generated the T-SQL, and executed the query and thought awesome! However, I can then only modify the T-SQL manually, I cannot get back into the graphical designer as all the Query Designer toolbar options are grayed out. Am I missing something?
Highlight the query text, then right-click, and select "Design Query in Editor...".

SQL Management Studio 2008 - Server name on Query Editor tabs...where did they go?

I recently upgraded to SQL Management Studio 2008 (full not express, if it matters).
In 2005, when I was in the Query Editor, each tab (with an unsaved query) would have the servername-instance-query name or something like that, but all I cared about was seeing the server name there so I knew which server I was running my query on.
In 2008 it appears that they've decided to change the tab title to query name-servername, and the result of this is I can't see what server I'm working on without hovering over the tab and looking at the tooltip thing that pops up, which really slows me down. So currently all my tabs are titled something like "SQLQuery5.sql..." which is useless to me.
How can I get the servername back to the front the tab title?
It can be turned off/on in SSMS 2005, so possibly in 2008 you have it switched off.
Go to Tools -> Options -> Text Editor -> Editor Tab and Status Bar. Under "Tab Text" in the right hand panel, make sure "Include server name" is set to True.
If you have the SQL Editor menu checked up top then there is a drop down that tells you exactly what database you're in for the currently selected tab.
You should be running any queries in the active window? At the bottom there is a status bar with the server name and database name in it. That way you don't have to clutter the limited tab space with all that data.