Revise the logic of generating CREATE statements.