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: One set of stored procedure for multiple users

Re: One set of stored procedure for multiple users

From: Jonathan Lewis <ora_mail_at_jlcomp.demon.co.uk>
Date: 1997/01/05
Message-ID: <32CF74CE.4D98@jlcomp.demon.co.uk>#1/1

You may be able to do something with this idea.

Create your N sets of data, each in their own 'client' schema. Create an empty 'support' schema.

In the support schema, create one set of views like:

   create or replace view XYZ as select * from client1.XYZ;

using a script that allows you to supply a client schema as an input parameter.

Create all the packages in the support schema.

When you need to do some support work for another client, execute the view-creation script with the new client as the input parameter.

When you redefine the views, all the packages will become invalid, but should automatically re-compile as needed.

This won't work if you have to run material for more than one client at a time though.

---
Jonathan Lewis.
Received on Sun Jan 05 1997 - 00:00:00 CST

Original text of this message

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