stelljohann
MIS
SQL 2005. I would like to do a select query that returns all fields for a specific record that are equal to a specific value.
Table1 has a number of fields (Field1, Field2, Field3...). Each of these fields can either be True or False. I would like to query a specific record and produce a list of which fields have a value of 'True'.
Is this possible, and if so can anyone provide an example? TIA.
Thanks,
stelljohann
--The number of times an uninteresting thing happens is an interesting thing.--
Table1 has a number of fields (Field1, Field2, Field3...). Each of these fields can either be True or False. I would like to query a specific record and produce a list of which fields have a value of 'True'.
Is this possible, and if so can anyone provide an example? TIA.
Thanks,
stelljohann
--The number of times an uninteresting thing happens is an interesting thing.--