greenpm959
Technical User
Is there anyway to update only the dublicates in a field. I have email address that are dublicates and want to add the last 4 digits of the SSN to dublicate only. I writing this for Access data base.
I tried:
UPDATE Reps
SET Email = FirstName + LastName + Mid(SSN,8,4) +'.'+ '@MyCollege.edu'
WHERE Email = Count(*)>1
I got a error that I couldn't use the WHERE clause with the Count. Tried CAST in front of the count. Any clues?
I tried:
UPDATE Reps
SET Email = FirstName + LastName + Mid(SSN,8,4) +'.'+ '@MyCollege.edu'
WHERE Email = Count(*)>1
I got a error that I couldn't use the WHERE clause with the Count. Tried CAST in front of the count. Any clues?