SQL Color results

Database
Teradata Employee

SQL Color results

Is there a way in SQL to return data values in a particular color depending on some logic? Something like Green if everything is "normal", Yellow if values are slightly out of bounds and Red if values are extremely skewed.

Thanks!

Paul
Tags (2)
1 REPLY
Senior Apprentice

Re: SQL Color results

Of course you could use use a CASE to add something like an HTML-tag to a returned value, but the color coding must be done in the client.
E.g. Excel is quite powerful for formatting result set.

Dieter