finished ddl for oracle and db2