i Guys, wonder if anyone can help!
I think its probably really simple, but cant for the life of me see how to do it - i'm pretty new to sql server too, we're useing 2005.
Basically i want to run a query that will pull out all column names from a table where the value (either 1 or 0) = 1. I only want the column names where the value matches.
Can anyone help?
Thanks!
Nic
I think its probably really simple, but cant for the life of me see how to do it - i'm pretty new to sql server too, we're useing 2005.
Basically i want to run a query that will pull out all column names from a table where the value (either 1 or 0) = 1. I only want the column names where the value matches.
Can anyone help?
Thanks!
Nic