Mar 2, 2009 #1 747576 Programmer Jun 18, 2002 97 GB Hi, I would like to split the values in a string: if I have a string 'ab+cfr+ddf' Code: select 'ab+cfr+ddf' and I would like a column: ab cfr ddf or be able to select the 1st code 'ab' or the 2nd 'cfr' or 3rd 'ddf' using sql. Thank you
Hi, I would like to split the values in a string: if I have a string 'ab+cfr+ddf' Code: select 'ab+cfr+ddf' and I would like a column: ab cfr ddf or be able to select the 1st code 'ab' or the 2nd 'cfr' or 3rd 'ddf' using sql. Thank you
Mar 2, 2009 #2 bborissov Programmer May 3, 2005 5,167 BG Search for Split function in FAQ. Borislav Borissov VFP9 SP2, SQL Server 2000/2005. Upvote 0 Downvote
Mar 2, 2009 #3 markros Programmer May 21, 2007 3,150 US http://www.berezniker.com/content/pages/sql/microsoft-sql-server/alines-udf-string-split Upvote 0 Downvote