Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove vowels from string

Status
Not open for further replies.

outofservice

Technical User
Feb 20, 2002
33
GB
I have two columns (ColumnA and ColumnB)
ColumnA contains text strings, ColumnB is empty

Id like to update ColumnB with the string values of ColumnA but I want to remove all vowels during the update.

How do I do this?
Thanks,


Lauryn Bradley
SQL Server DBA
 

Code:
update t 
   set columnB = replace(replace(columnA,'A',''),'E','')

You can add further replace.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top