Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL SERVER MANAGEMENT STUDIO: Highlight variables

Tags:

tsql

ssms

Is there a way in SQL SERVER MANAGEMENT STUDIO to highlight all usage of variables when we click on a variable name?

like image 775
SeekingAlpha Avatar asked Feb 20 '14 06:02

SeekingAlpha


People also ask

Can you highlight in SQL?

For ease of use, components of an SQL query are shown in different colors. There are certain SQLyog defaults, but you can setup your own highlight fonts and color scheme by using the Preferences dialog (Tools -> Preferences).

How do I enable Alt F1 in SQL Server?

Enter the SQL Server Management Studio (SSMS) shortcut key ALT + F1. Highlighting a table object in code and then pressing ALT + F1 with in the SSMS IDE will execute the equivalent command of sp_help 'object_name' where object_name is the name of the highlighted object.

How do I highlight a column in SQL?

Using SHIFT+ALT to Select Columns If you would like to select columns or blocks then Microsoft SQL Server offers a solution for you. You can use the key shortcut SHIFT+ALT as described in the following steps. Please note that this feature works using SSMS for SQL Server 2008 and up.

What is Ctrl L in SQL Server?

Typing CTRL+L executes either the selected text in the Query Editor window (or all the statements in the window if nothing is selected) and displays the execution plan.


1 Answers

In the last version of SSMS (currently version 17.1), select the text and type CTRL + F .

Example use of Ctrl+F

like image 100
Maxime Daniou Avatar answered Oct 12 '22 04:10

Maxime Daniou