"nicolas ghosn" <[EMAIL PROTECTED]> wrote on 06/15/2005 03:14:39 AM:
> Dear mysql supports, > I want to change the font color for database mysql , for example I want to > insert data with red color > when I select this data the font color is the default black.It's possible to > change the font color. > thank you. When you store a value into ANY database, that's what is stored and that's all that is stored. There is no concept of color or font size or typeface to the information (unless it's actually part of the data itself). I believe you have honestly confused data presentation with data storage. How is the user to see this data? Is this data to be presented through an HTML document, a PDF document, some kind of client program, ...? Depending on your presentation method, it may be possible to save the codes for such things as colorizing or italicizing a value along with the value itself but that method is VERY implentation specific. It would also ruin the concept that a number is a number and a string is a string and a date is a date if you had to, for example, save the code to make all of your negative numbers red by saving all of your numbers as strings so that the encoding for "RED" is stored right there with the number. Leave the formatting process to the applications that USE the data, don't make the ones storing the data try to remember what color things are supposed to be. Databases are the wrong tools for that job. Shawn Green Database Administrator Unimin Corporation - Spruce Pine