Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 string manipulation

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-01-26 : 09:59:31
Casey writes "How can you manipulate string data in this example:

Say I have a field for employee name, and the values are stored last name , first name

ex: Smith, John
Tomling, Elizabeth
Paluskaweicz, Joe

Given that all names have a common character (the comma), how can I rearrange the values to be first name last name

John Smith
Elizabeth Tomling
Joe Paluskaweicz


SQL 7.0
Windows NT"
   

- Advertisement -