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: ORA-00942: How can access a table without pre-fixing the schema name

Re: ORA-00942: How can access a table without pre-fixing the schema name

From: Phil <philip.moore_at_hp.com>
Date: 14 Jul 2005 07:53:14 -0700
Message-ID: <1121352794.317613.310480@g43g2000cwa.googlegroups.com>


Another approach would be to create a PUBLIC synonym.

This allows the schema owner of the table to be irrelevant to any read-only users.

Example:
-- Run this as dbausr...
CREATE PUBLIC SYNONYM a FOR dbausr.a ;

Then try your select after connecting as a - no need to change the current schema.

Sincerely,

Philip Received on Thu Jul 14 2005 - 09:53:14 CDT

Original text of this message

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