Hi, Need help in an SQL problem:
I have a table that has individual records, There are 29 fields.
One is a unique ID, 14 are True/False and 14 are text.
Using a query to find one record, I'd like the SQL to Display only the fields that are True.
So, in an example:
SELECT *
FROM table
WHERE ID = 1
(show all fields that are True)
There might be 4 out of 14 that are True and the rest would be false.
I want the SQL to display those True fields in a list.
Thanks in advance.
Terry
I have a table that has individual records, There are 29 fields.
One is a unique ID, 14 are True/False and 14 are text.
Using a query to find one record, I'd like the SQL to Display only the fields that are True.
So, in an example:
SELECT *
FROM table
WHERE ID = 1
(show all fields that are True)
There might be 4 out of 14 that are True and the rest would be false.
I want the SQL to display those True fields in a list.
Thanks in advance.
Terry