SBendBuckeye
Programmer
Hello All,
We have a table with a field defined as varchar(8000). Every so often, it exceeds that so 2 or more records are created. When processing them, I need to concatenate them all together which I believe I can do with a text datatype. However, that is not valid as a local variable type in a stored procedure.
The data is irregular and is key word parsed, but there is no certainty as to where or when the key words appear so I am trying to avoid having to parse at the individual record level if I can avoid it.
I can create a cursor to return what I need, but I don't know how to create a large enough data structure to allow me to process it as a unit. It is extremely rare to find more than 3 or 4 records in a set.
Thanks for any ideas and/or suggestions!
Have a great day!
j2consulting@yahoo.com
We have a table with a field defined as varchar(8000). Every so often, it exceeds that so 2 or more records are created. When processing them, I need to concatenate them all together which I believe I can do with a text datatype. However, that is not valid as a local variable type in a stored procedure.
The data is irregular and is key word parsed, but there is no certainty as to where or when the key words appear so I am trying to avoid having to parse at the individual record level if I can avoid it.
I can create a cursor to return what I need, but I don't know how to create a large enough data structure to allow me to process it as a unit. It is extremely rare to find more than 3 or 4 records in a set.
Thanks for any ideas and/or suggestions!
Have a great day!
j2consulting@yahoo.com