Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL: How to access tables globally.

Re: PL/SQL: How to access tables globally.

From: Arjan van Bentem <avbentem_at_DONT-YOU-DAREdds.nl>
Date: Sun, 6 Sep 1998 11:53:05 +0200
Message-ID: <6stlvq$pcu$1@pascal.a2000.nl>


>If you define the table in the package spec it will be accessible to
>everyone who has access to the package. If you define it globally in the
>package body it will only be accessible to the package members. In
>either case it will be persistent.

Just to be sure, and like Thomas wrote in his reply: they are *session* persistent. So when declared in the package specification, other packages indeed can see the data when being called from the very same session. However, even if declared in the package specification, two different sessions will have their own data in the PL/SQL table.

Arjan. Received on Sun Sep 06 1998 - 04:53:05 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US