This is how I retrieve data
select myPlan from myTable
this is result ,
myPlan
=====================
True , False , True
False , True , False
False , True , True
In each row , I have three Boolean value separated by comma .
The first Boolean value represent Breakfast , the second is Lunch and the last is Dinner .
I just want to replace the result to
myPlan
=====================
BreakFast , Dinner
Lunch
Lunch , Dinner
Can I make this replacement by using only sql query ?
I'm using SQL server 2008 R2 !