I have found many solutions to pass a list parameter from ColdFusion to a stored procedure,
and this one is a very simple and efficient way to convert a string to a table. Thanks to Amit Gaur posting to SQL ServerCentral.
I modified his original function which returns only integers (forcing you to pass only a list of integers).
Suppose you pass the string ‘2A354,FB452,8896′ in the argument @itemList as a list of item codes you want to retrieve from your inventory table.











