modified to produce Oracle-flavored SQL

Quick and dirty. Use at your own risk.
Modified to produce SQL that can be used in Oracle. Added ability to
determine basic types (double, timestamp, else defaults to VARCHAR2).