Replies: 1 comment 1 reply
-
what are the data types of the variables |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
what are the data types of the variables |
Beta Was this translation helpful? Give feedback.
-
I tried to call package function trough this query:
but my variable_in passed as null to the func, I have IF ELSE construction in the MYFUNC and it returns
RAISE_APPLICATION_ERROR(-20001, 'Undefined nom name');
if variable_in IS NULL
so I logged variable_in and it is not nil it have value
also I tried to exec my query this way:
_, err := tx.Exec(query, go_ora.Out{Dest: &variable_out, Size: 32}, variable_in)
but it returns another error
call register type before use user defined type (UDT)
I do not use any UDT in MYFUNC so i don't know why it's happening
what am i doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions