More fun with ISNUMERIC()

  • It does as the MSDN says,

    ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/uas9/html/5193c976-9dcd-459c-abba-8c3c44e7a7f2.htm

    ISNUMERIC returns 1 for some characters that are not numbers, such as plus (+), minus (-), and valid currency symbols such as the dollar sign ($). For a complete list of currency symbols.

  • Nice question. I particularly liked the inclusion of the string in the final select, so that people could see what was going on.

    Surprised by some of the comments - I though everyone would know the what the character codes in the 9 to 13 range represent, I guess some of teh youngsters never needed to know that stuff because (a) modern text handling tools are a bit higher level that some of the old ones and (b) people stopped reading punched tape maybe 30 years ago.

    Tom

Viewing 2 posts - 31 through 31 (of 31 total)

You must be logged in to reply to this topic. Login to reply