SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 want to Colunm
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lemondash
Posting Yak Master

United Kingdom
159 Posts

Posted - 03/15/2007 :  10:50:14  Show Profile  Click to see lemondash's MSN Messenger address  Reply with Quote
Afternoon all,

I have a colunm sName(nVarChar(255) which has first name and second name in it and is divended with a ",". Can somebody show me to put these in there own colunm sFirstName and sSecondName.

Very Kind regards.

snSQL
Flowing Fount of Yak Knowledge

USA
1837 Posts

Posted - 03/15/2007 :  10:56:06  Show Profile  Reply with Quote
Take a look here for various code to split strings
http://sqlteam.com/forums/topic.asp?TOPIC_ID=50648
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000