Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old October 3rd, 2008, 04:31 PM
Newbie
 
Join Date: Sep 2008
Posts: 3
Default Search for tablename and column name for one value across 1 database

Hi,
I want to search for the table name and column name that have the value "ABC" .

Any idea with where i could start with this one?

thanks.
Reply
  #2  
Old October 3rd, 2008, 07:29 PM
Familiar Sight
 
Join Date: Feb 2007
Location: Calgary AB Canada
Posts: 154
Default

yep, within each schema look in user_tables or user_tab_columns. Or join the two on tablename and look for what you need.
Reply
  #3  
Old October 4th, 2008, 06:02 AM
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 6,870
Default

dictionary can provide you information regarding the structure of the objects not the containing data.
Reply
  #4  
Old October 7th, 2008, 11:28 AM
AdusumalliGopikumar's Avatar
Member
 
Join Date: Aug 2007
Location: india
Age: 25
Posts: 41
Default

select * from user_tables where table_name like 'ABC%';

This Query will give you all the tables having ABC as it name

select * from user_tab_cols where column_name like 'ABC%';

This Query will listy all the columns having ABC in the column name
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles