From experience and other threads I could find on the subject,
Thread232-137754
Thread232-241900
It seems that you have to pass parameters in the correct order and that you have to pass all parameters explicitly, although some were declared as optional in SQL server.
I have a SQL server stored procedure with approx. 30 input parameters, all of which were optional and I only wanted to pass in 4.
In the end I had to explicitly pass in default values for the other 26 (all in the correct order).
I was getting these errors:
Error 8114 Error converting data type %ls to %ls.
and
Error 8162 Formal parameter '%.*ls' was defined as OUTPUT but the actual parameter not declared OUTPUT.
Does anybody know? Can you call stored procedures from Cold Fusion without passing every single parameter explicitly?
I have tried it in MX as well and still had to pass all parameters explicitly in the correct order.
Thanks,
Jackie
Thread232-137754
Thread232-241900
It seems that you have to pass parameters in the correct order and that you have to pass all parameters explicitly, although some were declared as optional in SQL server.
I have a SQL server stored procedure with approx. 30 input parameters, all of which were optional and I only wanted to pass in 4.
In the end I had to explicitly pass in default values for the other 26 (all in the correct order).
I was getting these errors:
Error 8114 Error converting data type %ls to %ls.
and
Error 8162 Formal parameter '%.*ls' was defined as OUTPUT but the actual parameter not declared OUTPUT.
Does anybody know? Can you call stored procedures from Cold Fusion without passing every single parameter explicitly?
I have tried it in MX as well and still had to pass all parameters explicitly in the correct order.
Thanks,
Jackie