This is a query to get all Oracle tables that can be viewed by the current user.
select TABLE_NAME, OWNER from SYS.ALL_TABLES order by OWNER, TABLE_NAMEThis is a query to get all Oracle schemas in an Oracle database instance.
select USERNAME from SYS.ALL_USERS order by USERNAMEThis is a query to get all Oracle views that can be viewed by the current user.
select VIEW_NAME, OWNER from SYS.ALL_VIEWS order by OWNER, VIEW_NAMEfor views owned by logged user
select view_name from user_viewsalter view <view name> compile;This is a query to get all Oracle triggers for the current user.
select TRIGGER_NAME, OWNER from SYS.ALL_TRIGGERS order by OWNER, TRIGGER_NAME