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)
 Splitting text strings

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-27 : 11:17:06
Bob writes "Hi,

For example usernames are displayed as "fname lname", is there any way to split this into "fname" and "lname" for insertion into separate columns?

I've managed to do this using DTS in combination with a bit of vbscript but I need it within a proc for import purposes.

Cheers"

jackstow
Posting Yak Master

160 Posts

Posted - 2002-03-27 : 11:20:48
Try this article - http://www.sqlteam.com/item.asp?ItemID=2652

Go to Top of Page
   

- Advertisement -