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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

insert punctuation

Status
Not open for further replies.
Joined
Jul 21, 2001
Messages
102
Location
US
This is a cleanup problem. I have some name records in this format:

firstname middlename lastname
Joan E James
Harold A Smith
Sandra Brown Taylor

I would like to add a period after the single initials in the middlename without affecting records will a full middlename. Is there a way of identifying a single-character middlename and adding the punctuation?
 

Try something like this.

Update TableName
Set MiddleName=MiddleName + '.'
Where Len(MiddleName)=1 Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top