I have a @returnValue which is a varchar from a function that gets the
AnimalName varchar AnimalType varchar BigSmall int ( value is either 1 or 0 )
and just make one long string like below
@returnValue = @returnValue + AnimalName + ' '
+ AnimalType + ' ' + convert(varchar, BigSmall) + ': '
I want to replace the BigSmall if the value is 0 to 'Small' and if value is 1 to 'Big' and add it to my string @returnValue
Thanks