Remove and split data into multiple columns in select statement.
Posted
by Muhammad Kashif Nadeem
on Stack Overflow
See other posts from Stack Overflow
or by Muhammad Kashif Nadeem
Published on 2009-11-14T22:19:52Z
Indexed on
2010/03/09
5:06 UTC
Read the original article
Hit count: 378
I have data like following table
I want to remove Titles ( Mr. Miss, Dr etc) from name and want to split data into First name and last name if two names exists.
I want this in select statement. I can remove title using CASE statement but unable to split name into tow in same case statement.
I want data like this but in select statement, title removed and name splitted.
© Stack Overflow or respective owner