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

20
vg/table_no_index.sql Normal file
View File

@@ -0,0 +1,20 @@
set echo off
set feedback off
set linesize 512
prompt
prompt Tables with No Indexes
prompt
break on OWNER skip 1
SELECT OWNER, TABLE_NAME
FROM ALL_TABLES
WHERE OWNER NOT IN ('SYS','SYSTEM','OUTLN','DBSNMP')
MINUS
SELECT OWNER, TABLE_NAME
FROM ALL_INDEXES
WHERE OWNER NOT IN ('SYS','SYSTEM','OUTLN','DBSNMP');