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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: user account setup

Re: user account setup

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Mon, 21 Jun 2004 16:24:59 -0400
Message-ID: <20040621202459.GA23164@mladen.wangtrading.com>

On 06/21/2004 03:59:49 PM, "Nguyen, David M" wrote:

> He asks me is there a way to query SCOTT object without typing "SCOTT."
> in front of table name?

There is this little known SQL command called "CREATE SYNONYM", warmly recommended by Mr. Steve Adams. If you execute command "CREATE SYNONYM DEPT FOR SCOTTT.EMP", your user will be able to type desc "DEPT" and get the full description of the desired table. You can even create public synonym, so that you don't have to do that time and time again. As Mr. Adams has correctly noted, there is a performance difference when you start using public synonyms. They can do wonders for your shared pool and name resolution algorithms.

-- 
Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.  No confidentiality or privilege is waived or lost by any mistransmission.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Mon Jun 21 2004 - 15:21:56 CDT

Original text of this message

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