May 20, 2003 #1 Rozza Technical User Jul 25, 2002 67 GB Hi I have a table which stores forenames and surnames in seperate columns. I need to change the font case to Title Case e.g. Paul Rowling as many of the names are stored in upper or lowercase. How can I do this using an sql statement?? Cheers Paul
Hi I have a table which stores forenames and surnames in seperate columns. I need to change the font case to Title Case e.g. Paul Rowling as many of the names are stored in upper or lowercase. How can I do this using an sql statement?? Cheers Paul
May 20, 2003 #2 MatthewPeters Technical User Aug 13, 2001 81 US Is that what your looking for? select upper(left(fName, 1)) + lower(substring(fName, 2, len(fName)-1)) + ' ' + upper(left(lName, 1)) + lower(substring(lName, 2, len(lName)-1)) from yourTable Matt Upvote 0 Downvote
Is that what your looking for? select upper(left(fName, 1)) + lower(substring(fName, 2, len(fName)-1)) + ' ' + upper(left(lName, 1)) + lower(substring(lName, 2, len(lName)-1)) from yourTable Matt
May 20, 2003 Thread starter #3 Rozza Technical User Jul 25, 2002 67 GB Thanks for your reply. I'll give it a try!! Cheers Paul Upvote 0 Downvote