Hi I have database where i am saving the weekdays as numbers (such as Sunday as 1 Monday as 2 and so on). I am binding this info to a grid view. What i want to do is when displaying weekdays in the grid view i want instead of 1234567 it should appear as "SMTWThFSa". I am trying Case query but then i have to make several case queries such as
select (case when Weekdy='12' then 'SM' end) as Weekdy from Wc_Batches where BatchID='B03141'
can someone help me with this please. Thanks.