This is used for a situation where you may have a tree view control that you need to select data that belongs to the parent and all its children. Just pass a string (varchar(4000)) to the proc as a parameter. Then use this routine to parse it out. This will work like the xp_Tokenize Extended stored procedure without using an XP_...
Author: Adrian Rupp
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
"as -is", without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose...
Back to Database Journal Home