aspose file tools
The moose likes JDBC and the fly likes search database of all tables for one field in table Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "search database of all tables for one field in table" Watch "search database of all tables for one field in table" New topic
Author

search database of all tables for one field in table

Keith Lockey
Ranch Hand

Joined: Oct 05, 2001
Posts: 48
how would I search for a field name that is in one of 200 tables in a database?


Thanks,<br />Keith
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
Depends on the database really. Most databases keep the information about the fields and tables in a special table, so you can just issue a query on that table.
Can you tell us a little more about what sort of setup you are working with?


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
Keith Lockey
Ranch Hand

Joined: Oct 05, 2001
Posts: 48
It is Oracle 9.0.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: search database of all tables for one field in table
 
Similar Threads
tables and fields
Logic problem
One java class & Two tables Hibernate
How to provide willdcard search
building a searching tool for jsp pages