Understanding the colors used in SQL Server Query Analyzer

 

In order to make it easier for you to analyze and debug queries, SQL Server Query Analyzer displays the different components of your queries in different colors. For example, SQL Server Query Analyzer displays all SQL keywords such as SELECT, INSERT, and  UPDATE in blue and strings in red. (We find the fact that SQL Server displays strings in red very helpful because it helps us to see when we haven't properly enclosed string values in quotes!) You can view the default colors by choosing View | Font in SQL Server Query Analyzer. In the Color list, select each of the query components--you'll then see its color by looking at the Sample text box. You can also customize the colors used by SQL Server Query Analyzer by choosing a different foreground, background, or font for each component of a query.

 

SQL Index

Main Index

Search RD Techbase