Skip to content

Commit d2c90dd

Browse files
committed
Database Inspect Agent
1 parent d42cbb4 commit d2c90dd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

autonomous-ai-agents/database_inspect/database_inspect_tool.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2809,9 +2809,12 @@ CREATE OR REPLACE PACKAGE BODY database_inspect AS
28092809
'SELECT object_name, object_type, owner ' ||
28102810
' FROM ' || INSPECT_OBJECTS ||
28112811
' WHERE (:1 IS NULL OR UPPER(object_name) = :1) ' ||
2812+
' AND UPPER(object_name) NOT LIKE ''DR$%'' ' ||
2813+
' AND UPPER(object_name) NOT LIKE ''VECTOR$%'' ' ||
28122814
' AND (:2 IS NULL OR object_type = :2) ' ||
28132815
' AND (:3 IS NULL OR UPPER(owner) = :3) ' ||
2814-
' AND agent_team_name = :4';
2816+
' AND agent_team_name = :4 ' ||
2817+
' ORDER BY UPPER(object_name), object_name, object_type, owner';
28152818

28162819
OPEN l_cursor FOR l_stmt
28172820
USING l_object_name, UPPER(l_object_name),

0 commit comments

Comments
 (0)