Solved

Coverting Name to the same case

Posted on 2013-01-04
1
320 Views
Last Modified: 2013-01-04
I have a file that has a mixture of data input. Some of the data is all upper case and some of the data has the first letter as upper case and the rest as lower case.

Is there a way to uniform the data.  My preference is converting it all to First letter Upper case and the rest lower case.
0
Comment
Question by:morinia
1 Comment
 
LVL 17

Accepted Solution

by:
Kent Dyer earned 500 total points
Comment Utility
Couple of different approaches..

UPDATE SOMETABLE SET SOMEFIELD=LOWER(SOMEFIELD)

Here is one with the Init Caps..

http://dbaspot.com/sqlserver-faq/469946-change-uppercase-initial-caps.html

HTH,

Kent
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Often, when running a query with joins, the results show up "duplicates", and often, those duplicates can be "eliminated" in the results using DISTINCT, for example. Using DISTINCT is simple: just add it after the SELECT keyword, an…
Introduction: I have seen many questions on EE and elsewhere, asking about how to find either gaps in lists of numbers (id field, usually) ranges of values or dates overlapping date ranges combined date ranges I thought it would be a good …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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…

744 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

15 Experts available now in Live!

Get 1:1 Help Now