how to do a search in a schema
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: how to do a search in a schema

  1. #1
    Join Date
    Jun 2000
    Posts
    315

    how to do a search in a schema

    How could I search table names if I only know the field names?

    Thank you!

  2. #2
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    Select column_name, owner, table_name
    From all_tab_columns
    Where column_name like '%MY_COLUMN%'
    and owner = 'MY_OWNER'
    Order by column_name, owner, table_name;
    "The power of instruction is seldom of much efficacy except in those happy dispositions where it is almost superfluous" - Gibbon, quoted by R.P.Feynman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width