For database re-architecture I need to get DDL of each table and view in the database(Oracle). I don\'t want to go to property of each table/view and get SQL out of it in SQ
For materialized views use:
select dbms_metadata.get_ddl('MATERIALIZED_VIEW','MView_name','Schema_Name') from dual;
See all supported object types here: DBMS_METADATA: Object Types