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)
 Breaking up a text string by spaces....

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-11-04 : 07:57:52
Dave writes "I need to break up a text strng that has spaces (e.g. mr. john smith washington dc) into different fields:

Field One: mr.
Field Two: john
Field Three: smith
Field Four: washington
Field Five: dc

What is the syntax to achieve this?

Thanks
Dave"

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-11-04 : 08:04:13
Refer this split function
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=50648

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -