![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, On my first oracle instance, I have a global type 'productarray' (CREATE OR REPLACE TYPE productarray AS TABLE OF VARCHAR(30)), I have a package procedure having myArray OUT productarray as parameter. No problem to manage this OUT parameter from a function or procedure in the same instance, even if schemas are different. But if I try to use this package procedure from procedure in another instance, I have the error : PLS-00306 : wrong number or types of arguments in call of 'myfunction'. the strict same global type has been created in both instances and the package 1 is visible in instance 2 via a synonym, user 2 has execute right on package 1. Anyone has an idea about what is wrong ? Thanks a lot. Stephane |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi, On my first oracle instance, I have a global type 'productarray' (CREATE OR REPLACE TYPE productarray AS TABLE OF VARCHAR(30)), I have a package procedure having myArray OUT productarray as parameter. No problem to manage this OUT parameter from a function or procedure in the same instance, even if schemas are different. But if I try to use this package procedure from procedure in another instance, I have the error : PLS-00306 : wrong number or types of arguments in call of 'myfunction'. the strict same global type has been created in both instances and the package 1 is visible in instance 2 via a synonym, user 2 has execute right on package 1. Anyone has an idea about what is wrong ? Thanks a lot. Stephane |
![]() |
| Thread Tools | |
| Display Modes | |
| |