jasonsalas
IS-IT--Management
I think this is a formatting issue, but here's my dilemma. I've got a table with the following schema:
NAME INCUMBENT
VARCHAR(120) BIT
What I'd like to do is return a recordset wherein if a record has a value of "TRUE", then the name field will append certain HTML markup, like so:
SELECT * FROM TablePeople
------------------------------
NormalPerson
Incumbent <font size="2" color="red">*</font>
AnotherNormalPerson
YetAnotherNormalPerson
AnotherIncumbent <font size="2" color="red">*</font>
Do you know how I can query the same table and append this data?
Thanks much!
NAME INCUMBENT
VARCHAR(120) BIT
What I'd like to do is return a recordset wherein if a record has a value of "TRUE", then the name field will append certain HTML markup, like so:
SELECT * FROM TablePeople
------------------------------
NormalPerson
Incumbent <font size="2" color="red">*</font>
AnotherNormalPerson
YetAnotherNormalPerson
AnotherIncumbent <font size="2" color="red">*</font>
Do you know how I can query the same table and append this data?
Thanks much!