Viewing 2 posts - 1 through 2 (of 2 total)
Thanks Luis !!! You have solve my problem.....
August 20, 2015 at 7:56 am
#1821401
Anshul.P (8/19/2015)Here's a simple one -select AttribName AS Attribute,CASE WHEN ISNUMERIC(AttribValue)=1THEN 'NUMERIC'WHEN LEN(ATTRIBVALUE) = 1 AND ISNUMERIC(AttribValue) = 0THEN 'ALPHABET'ELSE 'ALPHANUMERIC'ENDfrom #Test123
Anshul.P (8/19/2015)
select AttribName AS Attribute
,CASE WHEN ISNUMERIC(AttribValue)=1
THEN 'NUMERIC'
WHEN LEN(ATTRIBVALUE) = 1 AND ISNUMERIC(AttribValue) = 0
THEN 'ALPHABET'
ELSE 'ALPHANUMERIC'
END
from #Test123
Hi Anshul,
But not getting results as I...
August 19, 2015 at 2:12 am
#1820958