MattDavies51
Programmer
I am passing a parameter(varchar) into a stored procedure that contains several values, and I was wondering whether SQL Server allows you to split the parameter/variable into the separate values. eg. say "Red, Blue, Green, Yellow" is passed as one parameter, I would like to break this down into 4 variables.
I know about the substring/left/right/mid functions but I am looking for something similar to the split function in VB.
Please help.
I know about the substring/left/right/mid functions but I am looking for something similar to the split function in VB.
Please help.