SELECT * FROM all_tab_comments col WHERE owner = 'SGAGROSYS';
/* columnas */
SELECT col.owner,
col.table_name,
col.column_name,
col.data_type,
col.data_length,
col.nullable,
col.data_default,
com.comments
FROM all_tab_columns col,
all_col_comments com
WHERE col.table_name = com.table_name
AND col.column_name = com.column_name
AND col.owner = com.owner
AND col.owner = 'SGAGROSYS'
ORDER BY col.table_name,
col.column_id;
select owner, segment_name, segment_type, round(bytes/1024/1024,0) Mb
from dba_segments
where 1=1
AND segment_type='TABLE'
AND owner = 'SGCORESYS'
order by 4 desc;