There’s no need to use proprietary procedural code to pass a list of parameters to a stored procedure. As the following script shows, it can be done by putting them into a string with a separator.
Author: Celko
Download Script:
splitquery.sql
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…
Disclaimer Continued
Back to Database Journal Home