-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
We have a database with important views as well, could we search on VIEWS as well?
Currently if you ask to search for a view eg. supplier_info
Eg get_object_source from db-context (local)
{
`object_name`: `SUPPLIER_INFO`,
`object_type`: `VIEW`
}
Source for VIEW SUPPLIER_INFO:
Error retrieving source: ORA-31603: object "SUPPLIER_INFO" of type VIEW not found in schema "APP"
ORA-06512: at "SYS.DBMS_METADATA", line 6731
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA", line 6718
ORA-06512: at "SYS.DBMS_METADATA", line 9734
ORA-06512: at line 1
Help: https://docs.oracle.com/error-help/db/ora-31603/
it will in the end realize that an object exist get_pl_sql_objects from db-context
{
`object_type`: `VIEW`,
`name_pattern`: `SUPPLIER_INFO`
}
Found 1 VIEW objects:
VIEW: SUPPLIER_INFO
Owner: APP
Status: VALID
Created: 2021-08-16 17:55:31
But it does not want to query it or show the desc of it?
Would be nice maybe to have the same functionality for views as you have for tables.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels