Hello all,
I am working with a SQL 2000 database. One table hold employee names, in a varchar(28) filed. The names are stored in a single string seperated by a blank space (such as Joe Brown).
What I would like to do is pull out the last name only(the right of the space). I am aware of a method to do this in Crystal Reports by created a replacement set of strings, but am hoping I can do it inside the Stored Procedure and pass it over from the procedure directly as a field.
Any advice would be appreciated. Thanks in advance.
Bob
Robert Pevey and Associates
I am working with a SQL 2000 database. One table hold employee names, in a varchar(28) filed. The names are stored in a single string seperated by a blank space (such as Joe Brown).
What I would like to do is pull out the last name only(the right of the space). I am aware of a method to do this in Crystal Reports by created a replacement set of strings, but am hoping I can do it inside the Stored Procedure and pass it over from the procedure directly as a field.
Any advice would be appreciated. Thanks in advance.
Bob
Robert Pevey and Associates