Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Jaffyboy
Starting Member
1 Post |
Posted - 2005-07-16 : 03:28:59
|
Hii have a column named Status in table which has 10 rows with the value "Y".Now i want the value to appear as "YES" instead of "Y" when i generate a query.i dont want the table value to get to be updated.Pls advice on how to do thisregdsJaffy |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-07-16 : 04:33:41
|
[code]Select Case When Status='Y' then 'Yes' end as Status from yourTable[/code]MadhivananFailing to plan is Planning to fail |
 |
|
jhermiz
3564 Posts |
Posted - 2005-07-18 : 10:29:52
|
You can also do this in the report =IIF(Fields!Status='Y', "Yes", "No") Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]Imperfection living for perfection -- [url]http://jhermiz.blogspot.com/[/url] |
 |
|
|
|
|