If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Remove Illigal Characaters from SQL Server 2005 Database?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-19-11, 05:05
amit1902 amit1902 is offline
Registered User
 
Join Date: Aug 2011
Posts: 5
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.
Reply With Quote
  #2 (permalink)  
Old 08-19-11, 10:28
JarlH JarlH is offline
Registered User
 
Join Date: Dec 2008
Location: At work...
Posts: 68
Since this is not an ANSI-related problem I suggest you to seek help in the MS SQL section: Microsoft SQL Server - dBforums
Reply With Quote
  #3 (permalink)  
Old 08-19-11, 12:06
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
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

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #4 (permalink)  
Old 08-19-11, 13:00
amit1902 amit1902 is offline
Registered User
 
Join Date: Aug 2011
Posts: 5
ok I have posted the my question in MS-SQL Server section.
Reply With Quote
  #5 (permalink)  
Old 08-22-11, 02:26
JarlH JarlH is offline
Registered User
 
Join Date: Dec 2008
Location: At work...
Posts: 68
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...
Reply With Quote
Reply

Tags
sql

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On