Discussion:
Finding all tables with a particular field?
(too old to reply)
Fred Wilson
2006-09-18 01:30:48 UTC
Permalink
Hello,

How does one go about finding all the tables that have a particular
field name? For example a field name "EVENT_CODE"

I would like to find all the places in the database this is located.
Ultimately I want to further find in that field the code "0214" and
change it to "0200".

Thank you,
Fred
Svend Jensen
2006-10-14 13:04:21 UTC
Permalink
Post by Fred Wilson
Hello,
How does one go about finding all the tables that have a particular
field name? For example a field name "EVENT_CODE"
I would like to find all the places in the database this is located.
Ultimately I want to further find in that field the code "0214" and
change it to "0200".
Thank you,
Fred
Check the views user/all/dba_tab_columns

Rgds

Svend
Paul
2006-10-14 16:53:25 UTC
Permalink
Post by Fred Wilson
How does one go about finding all the tables that have a particular
field name? For example a field name "EVENT_CODE"
I would like to find all the places in the database this is located.
Ultimately I want to further find in that field the code "0214" and
change it to "0200".
Apart from Svend's advice, this group is dead. You should ask this
question on c.d.o.server.



Paul...
Post by Fred Wilson
Fred
--
plinehan __at__ yahoo __dot__ __com__

XP Pro, SP 2,

Oracle, 9.2.0.1.0 (Enterprise Ed.)
Interbase 6.0.1.0;

When asking database related questions, please give other posters
some clues, like operating system, version of db being used and DDL.
The exact text and/or number of error messages is useful (!= "it didn't work!").
Thanks.

Furthermore, as a courtesy to those who spend
time analysing and attempting to help, please
do not top post.
Continue reading on narkive:
Loading...