Skip to content

Instantly share code, notes, and snippets.

@tmccombs
tmccombs / README.adoc
Last active December 9, 2023 02:58
XDG Default Applications
@rponte
rponte / calculate_more_power.sql
Created January 5, 2012 18:52
calculating tables size in Oracle
COLUMN TABLE_NAME FORMAT A32
COLUMN OBJECT_NAME FORMAT A32
COLUMN OWNER FORMAT A10
SELECT
owner, table_name, TRUNC(sum(bytes)/1024/1024) Meg
FROM
(SELECT segment_name table_name, owner, bytes
FROM dba_segments
WHERE segment_type = 'TABLE'