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: How to search all tables for a particular field?

Re: How to search all tables for a particular field?

From: Pat Hildebrand <pat_at_ssc.upenn.edu>
Date: Thu, 19 Jul 2001 11:59:52 -0700
Message-ID: <F001.0034F02C.20010719121535@fatcity.com>

>
> I am looking for a particular field if it exists in a database. How to
> search all tables for a particular field?
>

If you really mean all

  select table_name
    from dba_tab_columns
    where column_name = 'FIELD';

Be sure that the field you are looking for is in caps.

If you mean all that a particular user can use replace dba with all and run query as that user.

                         Pat
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Pat Hildebrand
  INET: pat_at_ssc.upenn.edu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Jul 19 2001 - 13:59:52 CDT

Original text of this message

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