%ROWTYPE support? #443
-
I have a case where I have to call a function that has an "out" parameter of type ROWTYPE. Is there any way to get that type of data? Is there any chance that RegisterType works? I am currently using sqlx, and I think it is not compatible. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I think I should test and see what oracle return for this datatype then update the code |
Beta Was this translation helpful? Give feedback.
-
Ok, so if you take THIS example, and replace the sqlText from de function createStoredProc for this one: Let me know if this is what you where expecting. How can you see what oracle it's returning? |
Beta Was this translation helpful? Give feedback.
-
sorry for late replay |
Beta Was this translation helpful? Give feedback.
-
another solution is to create |
Beta Was this translation helpful? Give feedback.
sorry for late replay
I think procedure like this should be used inside
pl/sql
statement(BEGIN... END)
because you should pass valid type for out_visit when calling the procedure/function otherwise oracle will return error