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_NAME
This is a query to get all Oracle schemas in an Oracle database instance.
select USERNAME from SYS.ALL_USERS order by USERNAME
This 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_NAME
for views owned by logged user
select view_name from user_views
alter 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