SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Remove the special character 'Æ' from the data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ankita.vinculum
Starting Member

5 Posts

Posted - 06/11/2012 :  06:11:10  Show Profile  Reply with Quote
Hi,

I have to remove the special character 'Æ' from my data, for this I have used the replace function - REPLACE(value,'Æ',CHAR(13)+CHAR(10))
but the next problem arrive i.e. If my data is like 'WorkRole =GaEquipmentWorkRoleÆSecurity Filter=GAEquipmnetÆDescription=' then REPLACE
function also replaces all the a following e like 'WorkRole =G quipmentWorkRole Security Filter=G quipmnet Description=' so i required that
function which only remove 'Æ' so that my data will appear as 'WorkRole =GaEquipmentWorkRole Security Filter=GAEquipmnet Description='

ankita

DonAtWork
Flowing Fount of Yak Knowledge

2111 Posts

Posted - 06/11/2012 :  06:30:35  Show Profile  Reply with Quote
instead of a literal 'Æ', use its CHAR equivalent and see what happens.









How to ask: http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

For ultra basic questions, follow these links.
http://www.sql-tutorial.net/
http://www.firstsql.com/tutor.htm
http://www.w3schools.com/sql/default.asp
Go to Top of Page

ankita.vinculum
Starting Member

5 Posts

Posted - 06/11/2012 :  06:32:26  Show Profile  Reply with Quote
Hi,

This is the solution for my problem :

REPLACE(Value COLLATE Latin1_General_BIN,'Æ',CHAR(13)+CHAR(10))

ankita
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000