Name referencing using SYNONYMS [message #2891] |
Tue, 20 August 2002 00:41 |
Mark Grimshaw
Messages: 73 Registered: June 2002
|
Member |
|
|
Hello,
I am writing some packages of stored procedures and want to refer to a cursor ref type that I have defined in one package from within another package without using the prefix package name. For example if I have a package defined like this:-
CREATE PACKAGE MyPackage AS
...
...
TYPE MyCursor IS REF CURSOR;
...
END;
I want to refer to this cusror in another package:-
CREATE PACKAGE AnotherPackage AS
PROCEDURE DoSomething(aCursor MyCursor);
END;
How do I do this - presumably with Synonyms but I can't seem to get it to work with public synonyms.
Thanks
|
|
|
|