[oracle] tables = select distinct table_name from user_tab_comments where table_type='TABLE' views = select distinct table_name from user_tab_comments where table_type='VIEW' [postgresql] tables = SELECT distinct table_name FROM information_schema.tables WHERE table_schema = 'public' ORDER BY table_name views = select distinct table_name from information_schema.views WHERE table_schema = 'public' ORDER BY table_name