Hello everyone,
I've got another strange one for you.(using SQL Server 7.0)
Is it possible to break apart a string that is delimited by comma's?
Thanks, Michael
I've got another strange one for you.(using SQL Server 7.0)
Is it possible to break apart a string that is delimited by comma's?
Code:
User Fred --> Ans_String_Val = '0,1,2,3,4'
User Wilma --> Ans_String_Val = '6,5,1,2,0'
A)I want to put the values in between the commas into seperate columns, for all users.(for exporting to an Excel Report)
Users A1 A2 A3 A4 A5
Fred 0 1 2 3 4
Wilma 6 5 1 2 0
B) I want to add the numbers
Fred = 10 -->(0+1+2+3+4)
Wilma = 14 -->(6+5+1+2+0)