Solved

Find space in SQL String and Change to Proper case

Posted on 2008-06-12
4
3,407 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 500 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

919 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