About 15,400,000 results
Open links in new tab
  1. How to have colors in the output of SQL result

    Sep 30, 2011 · In SQL Developer can I get the result of a SQL query in color? For example: Select * from Employee; If EmployeeID = 100 I want the name column to be displayed in green color. If EmployeeID = 200 I want the name column to be displayed in red color. All other fields (gender, salary) should be in normal colors. The reason I am asking for this:

  2. Color Coding in Query Editors | Microsoft Learn

    Feb 13, 2025 · Learn how text categories are color coded to help you more easily find specific text, and how you can configure a custom color scheme.

  3. SQL Assign/Generate unique colours for data - Stack Overflow

    Sep 1, 2012 · You can use a sub query to get each value and assign it a colour (using whichever method you choose) using: SELECT value, getMyColour() AS colour FROM table GROUP BY value; You can then join this subquery to your original tables to get the values out:

  4. sql server - SQL result with background color - Stack Overflow

    Aug 21, 2018 · I am trying to return a count result with background color depending on the amount of existing elements in a table. MS SQL DECLARE @cc int SET @cc = (SELECT COUNT(*) FROM PROBLEMS) SELECT CASE ...

  5. COLOR | SQL Tutorial Documentation on data.world

    With one argument, COLOR can be used to specify a color as either three digit hex value (e.g. #fff) or as one of a set of pre-defined color values (black, white, red, green, blue, yellow, cyan, or magenta).

  6. Color Coding in Query Editors - SQL Server Management Studio …

    Mar 3, 2023 · The colors help you quickly find text in your code. For example, comments stand out in dark green. The following table lists the most common colors. You can view the whole list of colors and their categories, and configure a custom color scheme by …

  7. Assign Colors in SQL Server Management Studio Query Windows Based

    Apr 15, 2015 · In this tip, I will show how to assign colors to different server connections, so that you will be fully aware you are running your code in production vs. a lower life cycle environment.

  8. How to set custom colors in the SSMS status bar - SQL Shack

    This article explains the process of defining custom color codes for SQL Server connections in SSMS.

  9. Text formatting for query outputs | SQL Tutorial Documentation …

    SELECT WITH_BACKGROUND_COLOR("dave", COLOR("blue")) FROM Employees. If you wish to quickly add highlighting to a cell, the WITH_STATUS and STATUS functions provides an easy way to flag a cell as “info”, “warning”, or “error”. The cell background will be rendered in a suitable color, chosen for accessibility.

  10. How to add background color of row based to existing SP/query

    Apr 13, 2022 · SET @xml = REPLACE(@XML,'<tr>','<tr style="background-color:Red; color:White; ">')

  11. Some results have been removed
Refresh