Find distinct special characters in column

  • shamshad.ali (8/11/2008)


    I need to list them down. if there is a way. also how should i exclude space" " and dot"." from [a-z0-9]

    Thanks all for help...

    Shamshad Ali.

    Shamshad... have you tried Peso's script?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
    "Change is inevitable... change for the better is not".

    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)
    Intro to Tally Tables and Functions

  • SELECT * FROM tbl_user

    WHERE UserName LIKE '%[^a-z0-9 ._-]%'

    This gives me the result of all those specail characters like $ and hyphen and so on. Its fine. Thanks, Thanks everyone ...

    Shamshad Ali.

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

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