Solved

Find space in SQL String and Change to Proper case

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
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…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

837 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