title: How to programmatically generate DDL from Oracle database?
body: <p>I've got a monumentally tedious task that is to find several tables from a huge schema, and generate the DDL for these tables.</p>
  
  <p>Say, I've got a <code>schemaA</code> has 1000 tables, I need to find if a <code>tableA</code> existed in this <code>schemaA</code>, if it does, generate the DDL and save it to filesystem, if don't, print it's name out or write it to a file. Any ideas?</p>