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 -> Is there something for a COLUMN like SYNONYM is for a TABLE?

Is there something for a COLUMN like SYNONYM is for a TABLE?

From: Brian Tkatch <N/A>
Date: Wed, 17 Oct 2007 14:09:21 -0400
Message-ID: <m8jch3pul4cq513tneuftvt7j6ctmkjf97@4ax.com>


Hello,

 i am working with Oracle 9i on a project where the TABLEs and COLUMNs conform to some standard, which, IMO, makes the names too tedious to use in ad hoc queries. To ease use, i CREATEd a SYNONYM for each TABLE, and i am happier with it now.

I would like to do the same thing to the COLUMN names (remove the project/table prefix, add in vowels, correct typos, etc...), but there are no SYNONYMs for COLUMN names. So, i was thinking of DROPping the SYNONYM idea, and just renaming both TABLEs and COLUMNs in a new VIEW for each TABLE.

I have two questions. One, will using a VIEW (straightforward select col_1, col_2, ..col_n from table) be inefficent, or is it the same as querying the TABLE directly? Two, is there something for a COLUMN like SYNONYM if for a TABLE?

B. Received on Wed Oct 17 2007 - 13:09:21 CDT

Original text of this message

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