COLUMN USERNAME FORMAT A30
COLUMN TABLESPACE_NAME FORMAT A30
COLUMN MB FORMAT 999999999,99
COLUMN CUOTA FORMAT A30


spool cuotas.log

SELECT USERNAME,TABLESPACE_NAME,ROUND(BYTES/1024/1204,2) MB, DECODE (MAX_BYTES,'-1',' ILIMITADA') CUOTA
FROM DBA_TS_QUOTAS
WHERE USERNAME = ('&usuario');

spool off;
