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 -> Re: Looking up tables that contain a column name

Re: Looking up tables that contain a column name

From: DA Morgan <damorgan_at_psoug.org>
Date: Fri, 06 Oct 2006 11:15:59 -0700
Message-ID: <1160158557.394394@bubbleator.drizzle.com>


laredotornado_at_zipmail.com wrote:
> Hello,
>
> I'm using Oracle 9i on Solaris. Is it possible (and how) to look up
> all the tables that contain a column named "XX_COLUMN"? How would I do
> this?
>
> Thanks, - Dave

SELECT owner, table_name
FROM all_tab_columns
WHERE column_name = 'XX_COLUMN';

-- 
Daniel Morgan
Puget Sound Oracle Users Group
Received on Fri Oct 06 2006 - 13:15:59 CDT

Original text of this message

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