Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access2010

Posted on 2012-03-14
1
Medium Priority
?
217 Views
Last Modified: 2012-03-27
I have db in Access 2010. The tables data in the db are imported from oracle aql. I ran select * on all tables on sql server,saved them as text file and then imported the data to accsess. one of the tables has first_name column (text) , the problem with that column is that  in some  words the letters are replaced by numbers. for example "Janet" is displayed as" 01et"  and Mary is displayed as "03y", the problem is that it replaces the abbreviations of month names into numbers.
How would I fix that?
0
Comment
Question by:lojayn
1 Comment
 
LVL 61

Accepted Solution

by:
mbizup earned 2000 total points
ID: 37720022
Brute force method would be to run an UPDATE Query repeatedly on the column:

UPDATE YourTable SET YourField = Replace(YourField, 0,"")

and repeat that, replacing 0 with 1, then 2, then 3...

That is assuming that your data is never expected to have these digits


EDIT ---  Retracting this.  I misread the question as these digits being embedded in good data.  It will remove the digits leaving text that it was embedded in.

This won't work if the bad data has completely replaced good data.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In database programming, custom sort order seems to be necessary quite often, at least in my experience and time here at EE. Within the realm of custom sorting is the sorting of numbers and text independently (i.e., treating the numbers as number…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline

916 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