abhas
SSCarpal Tunnel
Points: 4681
More actions
November 19, 2008 at 7:04 am
#201462
I Eant convert if bit value = o then it should be convert as N and if true then Y.It's urtgent pla if anybody has idea then tell me.
ChrisM@Work
SSC Guru
Points: 186127
November 19, 2008 at 7:16 am
#900503
DECLARE @bit BIT
SET @bit = 0 -- or 1, or comment out
SELECT @bit AS BitValue, CASE @bit WHEN 1 THEN 'Y' WHEN 0 THEN 'N' ELSE NULL END AS YesNo
For fast, accurate and documented assistance in answering your questions, please read this article.Understanding and using APPLY, (I) and (II) Paul WhiteHidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply