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: search fields

Re: search fields

From: Oracle <all_about_oracle_at_hotpop.com>
Date: Fri, 27 May 2005 15:58:24 +0800
Message-ID: <002801c56291$de3c2230$0200a8c0@ncs.corp.intads>



set linesize 75
col owner form a25
col table_name form a30
SELECT owner, table_name FROM dba_tab_columns WHERE lower(column_name) = 'medicode'
ORDER BY owner, table_name;
clear col

cut and paste above command at sqlplus
execute above command will give you list of table with medicode column

>
> What is this (' .)?
> > where table_name in (' .)
>
>
> --- Oracle <all_about_oracle_at_hotpop.com> wrote:
> > select table_name from dba_Tab_columns
> > where table_name in (' .)
> > and column_name is .....
> >
> > ----- Original Message -----
> > From: "Kean Jacinta" <jacintakean_at_yahoo.com>
> > To: <oracle-l_at_freelists.org>
> > Sent: Friday, May 27, 2005 2:33 PM
> > Subject: search fields
> >
> >
> > > hi ,
> > >
> > > Just want to know , would it be possible to search
> > all
> > > tables that contains medicode.
> > >
> > > Giving an example: i have 15 tables .And only 9
> > tables
> > > contains medicode. The field name medicode is d
> > same
> > > in all the 9 tables.
> > >
> > > Is tat possible to query sql statement to show all
> > > tables that contains medicode fields ?
> > >
> > > If there are none , can you please suggest other
> > ways
> > > to obtain it ?
> > >
> > > Thank You
> > >
> > > JK
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > > --
> > > http://www.freelists.org/webpage/oracle-l
> > >
> >
> >
> > --
> > http://www.freelists.org/webpage/oracle-l
> >
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

--
http://www.freelists.org/webpage/oracle-l
Received on Fri May 27 2005 - 04:02:47 CDT

Original text of this message

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