Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2011
    Posts
    5

    Unanswered: Remove Illigal Characaters from SQL Server 2005 Database?

    I am using SQL server 2005 and one of my field in house_no as nvarchar, which contains hindi, numeric and both combination values like -
    * 1
    * 2/1
    * 31/1सी
    * 3 मैन्ट भवन
    * हट मैन्ट भवन
    * 12ूूू
    * 14ु
    * ैुौ
    Now I want to delete the all illegal charterers like ू or ैुौ and many more from string and preserving rest. I have used replace() function but it is not working on hindi characters. Please suggest me the solution. My database is big nearly about 200GB and I have to replace all such characters.

  2. #2
    Join Date
    Dec 2008
    Location
    At work...
    Posts
    92
    Since this is not an ANSI-related problem I suggest you to seek help in the MS SQL section: Microsoft SQL Server - dBforums

  3. #3
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    Quote Originally Posted by JarlH View Post
    Since this is not an ANSI-related problem ....
    darn, and here i was expecting an ANSI solution from you anyway

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  4. #4
    Join Date
    Aug 2011
    Posts
    5
    ok I have posted the my question in MS-SQL Server section.

  5. #5
    Join Date
    Dec 2008
    Location
    At work...
    Posts
    92
    Quote Originally Posted by r937 View Post
    darn, and here i was expecting an ANSI solution from you anyway

    I'm sorry to disappoint you. Maybe I should write an answer using REPLACE...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •