문제

I would like to pass 51 plus parameter to an oracle stored procedure, i would like to pass them as a collection/array or custom object. I know its possible using assiative arrays using ODP driver but I am using OracleClient. How will I be able to achieve this, would not like to pass 50 plus fields as individual parameters.

도움이 되었습니까?

해결책

Pass a record as a string with values separated by a pipe (|) or any character of your choice. On database end split the passed string values.

Not the optimal solution but it works.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top