2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

31
tpt/col.sql Normal file
View File

@@ -0,0 +1,31 @@
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
column col_owner head OWNER for a20
column col_table_name head TABLE_NAME for a30
column col_column_name head COLUMN_NAME for a30
column col_data_type head DATA_TYPE for a20
break on col_owner skip 1 on table_name
select
owner col_owner,
table_name col_table_name,
column_name col_column_name,
data_type col_data_type,
nullable,
num_distinct,
low_value,
high_value,
density,
num_nulls,
num_buckets
from
dba_tab_columns
where
lower(column_name) like lower('%&1%')
order by
col_owner,
col_table_name,
col_column_name
/