Capitalizing First Letter of Every Word - Mailing list pgsql-general

From Brian T. Allen
Subject Capitalizing First Letter of Every Word
Date
Msg-id 001201c0fe93$47ec9af0$2718b3cf@picard
Whole thread Raw
Responses Re: Capitalizing First Letter of Every Word  (Alex Knight <knight@phunc.com>)
Re: Capitalizing First Letter of Every Word  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
List pgsql-general
Hi *,
 
I have a database of products, and the client entered everything in all caps.  While there is no intelligent way to do change everything to what it should be, changing the first letter of every word to uppercase and everything else to lowercase would at least look better (except for the occasional acroynym).
 
Is there a function to do that? I think I can handle everything except breaking the whole column up into individual words...   I know how I would do it in PHP (and I may have to resort to that), but would prefer to do it in the db.
 
Any suggestions?
 
Thanks,
Brian

pgsql-general by date:

Previous
From: Alex Knight
Date:
Subject: Re: Function problem -- how do I drop this function?
Next
From: "Thalis A. Kalfigopoulos"
Date:
Subject: Re: Function problem -- how do I drop this function?