I am doing a dump from a DBIV to a SQL database. In the DBIV they hold everything in capital letters. For formatting purposes I need to get it so Firstname/Lastname show up as mixed case. I can do that easily enough- uppercase the first letter-all others lower case.
This is ok but I'm having a harder time with the "exceptions"
1. Last name with a space ie "Van Snooze"
2. Parenthesis used to show formal vs. common name ie: Joseph (JJ)
3. - used in the Last name ie: Smith-Jacobs
Can anyone help me at least get started in doing this? I have done it successfully in a regular programming language but not sure how to move that to SQL and for effeciency sake I want to make this a stored procedure.
Thanks!
This is ok but I'm having a harder time with the "exceptions"
1. Last name with a space ie "Van Snooze"
2. Parenthesis used to show formal vs. common name ie: Joseph (JJ)
3. - used in the Last name ie: Smith-Jacobs
Can anyone help me at least get started in doing this? I have done it successfully in a regular programming language but not sure how to move that to SQL and for effeciency sake I want to make this a stored procedure.
Thanks!