databasedonr
Registered User.
- Local time
- Today, 13:32
- Joined
- Feb 13, 2003
- Messages
- 163
Greeting folks:
I have a query question:
In a field (text data) that is used for phone numbers. Most of the phone numbers are 10 digits, but I have several hundred that are 4 digits (representing extensions in a local exchange).
We are in the process of making our database accessible beyond our local exchange -- therefore, I need to change the all the four digit numbers to 10 digit numbers.
The good news is that I know exactly what the first 6 digits will be, and they will all be the same. The bad news is, I don't have a clue how I might do this.
So, for example, I might have these three records:
123-456-7890
6788
6789
And where I have the 6788 and 6789, I need to make these numbers look like:
321-123-6788
321-123-6789
Thanks in advance,
I have a query question:
In a field (text data) that is used for phone numbers. Most of the phone numbers are 10 digits, but I have several hundred that are 4 digits (representing extensions in a local exchange).
We are in the process of making our database accessible beyond our local exchange -- therefore, I need to change the all the four digit numbers to 10 digit numbers.
The good news is that I know exactly what the first 6 digits will be, and they will all be the same. The bad news is, I don't have a clue how I might do this.
So, for example, I might have these three records:
123-456-7890
6788
6789
And where I have the 6788 and 6789, I need to make these numbers look like:
321-123-6788
321-123-6789
Thanks in advance,