Solved

Replacing "_" with "." in multiple data rows

Posted on 2010-11-17
2
174 Views
Last Modified: 2012-05-10
We changed our corporate email address from firstname_lastname@XYZ.com to firstname.lastname@XYZ.com.  As a result, manually updating hundreds-to-thousands of rows of data impractical and time consuming.

What is the best way to programatically update the email addresses?

Thanks!
0
Comment
Question by:CMI_IT
2 Comments
 
LVL 30

Accepted Solution

by:
Reza Rad earned 500 total points
ID: 34157301
update myTable
set email=replace(email,'_','.')
0
 

Author Closing Comment

by:CMI_IT
ID: 34157375
Thank you!  (I'm embarrassed how easy that way, but none-the-less grateful!!)
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now