changed format of generated plsql.

create table only handles table structure. moved pk and fk outside.