Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Yak Posting Veteran
, (If typeid = 20, 23, or 25 then F else P) as TypeDesc
Flowing Fount of Yak Knowledge
, CASE WHEN typeid IN ( 20, 23, 25) then F else P END as TypeDesc
, CASE WHEN ','+REPLACE(REPLACE(REPLACE(@var,')',''),'(',''),' ','')+','
LIKE '%,'+CAST(typeid AS VARCHAR(20)) + ',%' THEN F ELSE P END AS TypeDesc