Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,当我在一个包中创建 varray 时type MyArray Is Varying Array(20) Of Varchar2(512);
type MyArray Is Varying Array(20) Of Varchar2(512);
是否可以从另一个包(或任何地方)访问myPackage.MyArray...???或者如何解决我到处都需要 MyArray 的问题(不能使用全局类型......)
myPackage.MyArray...
谢谢!
是的,你在你的包规范中创建这个变量,并像 mypackage.variable 一样为你的会话访问它。您可以使用 PRAGMA SERIALLY_REUSABLE;