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

Home -> Community -> Usenet -> c.d.o.misc -> Help: Create synonyms ?

Help: Create synonyms ?

From: Martin Fuks <mfuks_at_post3.tele.dk>
Date: Fri, 30 Oct 1998 15:13:02 +0100
Message-ID: <71chi0$ipn$1@dalen.get2net.dk>


I need to create synonyms for some tables to any new user I create. I would like to do this automaticly so I have thought of creating a stored procedure to do it for me.

How do I do this ?

will this work ?
---

Create Procedure Create_synonyms
  (User_Id IN VarChar2)
AS
BEGIN
  Create Synonym User_Id.<Synonym_Name> For <Table_Name>; END Create_Synonyms;
---

Can I use a Parameter in a Sql statement like this ?

Alternativly, is there another way of solving my problem?

Please help,

Martin Received on Fri Oct 30 1998 - 08:13:02 CST

Original text of this message

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