Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: use ALL_ instead of DBA_ for oracle index dump (#11682)

rebelice23309b3fc415
diff --git a/backend/plugin/db/oracle/dump.go b/backend/plugin/db/oracle/dump.go
index e7458e3dce..18c054c16b 100644
--- a/backend/plugin/db/oracle/dump.go
+++ b/backend/plugin/db/oracle/dump.go
@@ -1589,10 +1589,10 @@ SELECT
C.CONSTRAINT_NAME,
C.CONSTRAINT_TYPE
FROM
- SYS.DBA_INDEXES I,
- SYS.DBA_IND_COLUMNS IC,
- SYS.DBA_IND_EXPRESSIONS IE,
- SYS.DBA_CONSTRAINTS C
+ SYS.ALL_INDEXES I,
+ SYS.ALL_IND_COLUMNS IC,
+ SYS.ALL_IND_EXPRESSIONS IE,
+ SYS.ALL_CONSTRAINTS C
WHERE
C.OWNER(+) = I.OWNER
AND C.TABLE_NAME(+) = I.TABLE_NAME