issue #12: re-implement format for create table/view
issue #12: re-implement format for create index and alter table