• well, so far it looks like a single offending character, so i think you can do a simple replace();

    if this produces the desired name , i would update it with the

    sample below:

    select

    id,

    name,

    REPLACE(name,CHAR(0),'') As Fixed

    from my_user_table

    --only bad data for clarity

    WHERE CHARINDEX(name,CHAR(0),1) > 0

    If that's cleaning up the results correctly, a simple replace should fix it:

    UPDATE my_user_table

    SET name = REPLACE(name,CHAR(0),'')

    --only bad data for to match the #rows in our original select

    WHERE CHARINDEX(name,CHAR(0),1) > 0

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!