Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Find space in SQL String and Change to Proper case

Posted on 2008-06-12
Medium Priority
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 1500 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

721 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