Taurique Toffie
Grasshopper
Points: 13
More actions
January 26, 2005 at 6:37 am
#66394
Hi everyone
im a newbie to this forum so please bear with me.
Does anyone know how to use a between statement within a case statement for a select stored procedure?
Johan Bijnens
SSC Guru
Points: 135551
January 26, 2005 at 6:44 am
#539121
case when yourcol between x and y then 'xy'
when yourcol between a ane b then 'ab'
else 'not between'
end
JohanLearn to play, play to learn !
Dont drive faster than your guardian angel can fly ...but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply