Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Find space in SQL String and Change to Proper case

Posted on 2008-06-12
4
Medium Priority
?
3,414 Views
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
0
Comment
Question by:millerfw
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
floook earned 1500 total points
ID: 21774969
Here http://weblogs.sqlteam.com/jeffs/archive/2007/03/09/60131.aspx.
Make sure you read all comments to pick the best solution.
0
 

Author Comment

by:millerfw
ID: 21783709
Thanks floook  this worked perfect
0
 
LVL 2

Expert Comment

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

Author Comment

by:millerfw
ID: 21795608
Sorry I thouht I had awarded the points
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

782 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