[dba-SQLServer] Parse name field

Elam, Debbie DElam at jenkens.com
Fri Oct 8 10:00:38 CDT 2004


The biggest crimp I can see is people with spaces in their last name.  I
have seen the last name de la Rosa.  That is only one example.

Debbie

-----Original Message-----
From: Arthur Fuller [mailto:artful at rogers.com] 
Sent: Friday, October 08, 2004 9:46 AM
To: dba-sqlserver at databaseadvisors.com
Subject: Re: [dba-SQLServer] Parse name field


John W. Colby wrote:

>Does anyone have a SP (or whatever) that can parse a single field with
first
>/ middle / last name into separate fields?
>
>John W. Colby
>www.ColbyConsulting.com 
>
>
>_______________________________________________
>dba-SQLServer mailing list
>dba-SQLServer at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
>http://www.databaseadvisors.com
>
>
>  
>
This wouldn't take long to write, but first let's get the requirements 
straight....

Assume the delimiter is a space?
Assume that if there is only one space, then there is no middle name?
Assume that if there are more than two spaces, the person has two middle 
names?

Yay or nay?

A.
_______________________________________________
dba-SQLServer mailing list
dba-SQLServer at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-sqlserver
http://www.databaseadvisors.com
- JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject
to the Attorney-Client Privilege, (2) an attorney work product, or (3)
strictly confidential. If you are not the intended recipient of this
message, you may not disclose, print, copy or disseminate this information.
If you have received this in error, please reply and notify the sender
(only) and delete the message. Unauthorized interception of this e-mail is a
violation of federal criminal law. 
This communication does not reflect an intention by the sender or the
sender's client or principal to conduct a transaction or make any agreement
by electronic means.  Nothing contained in this message or in any attachment
shall satisfy the requirements for a writing, and nothing contained herein
shall constitute a contract or electronic signature under the Electronic
Signatures in Global and National Commerce Act, any version of the Uniform
Electronic Transactions Act or any other statute governing electronic
transactions.



More information about the dba-SQLServer mailing list