I'm going to guess that IDList is user-defined table-valued parameter, because that appears to be the only way it's allowed to be specificed as "readonly"
Tim
09/01/2022, 4:29 PM
And so, the question becomes, "how do I pass a table to a stored procedure in coldfusion?"
I don't know if you can...
This article explains how to do it via the JDBC from the Java point of view: https://docs.microsoft.com/en-us/sql/connect/jdbc/using-table-valued-parameters?view=sql-server-ver16
It would be cool if coldfusion supported that via passing a query object or something. But if cfprocparam can handle this, it's not in the documentation.
g
gsr
09/01/2022, 6:54 PM
i fixed it by removing IDlist and just passed a simple list and it works