Find space in SQL String and Change to Proper case

Posted on 2008-06-12
Last Modified: 2012-06-27
Hi Experts
I have a SQL table which contains all Upper Case data.  I moving it from this table to another table where the Data is Proper case ( from PAUL to Paul )  I am not  having any problem with the data when the field only contains one word but when it has two words such as City: NEW YORK I need to find the space with a substring or something to chang it from NEW YORK to New York.  Does anyone have sample SQL code for this?  Thanks
Question by:millerfw
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Accepted Solution

floook earned 500 total points
ID: 21774969
Make sure you read all comments to pick the best solution.

Author Comment

ID: 21783709
Thanks floook  this worked perfect

Expert Comment

ID: 21795576
Can I get the points then? :o)

Author Comment

ID: 21795608
Sorry I thouht I had awarded the points

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

756 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