Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 540
  • Last Modified:

Querable table does not appear in USER_OBJECTS

Hi!

Through a debug-mode in the application I am working with, I found that the information was stored in a table(?) called anvandare.

In sqldeveloper where I have high privilieges, I can query the table in a window e.g. like this

select * from anvandare

However it does not appear when I make a query like this

SELECT * FROM USER_OBJECTS
WHERE OBJECT_NAME LIKE '%anv%'

or  in the list of all table in sqldeveloper.

 

Question:

1. What could be the possible reason for the non-appearence of the table be?
table-sqldveloper.png
0
marcgu
Asked:
marcgu
3 Solutions
 
sdstuberCommented:
different schemas

sqldeveloper will use the ALL_TABLES view
0
 
marcguAuthor Commented:
I doesnt appear when I write

select * from all_tables either or did I missanderstand your answer. I just want to be able to get more metadata about the table like datatypes, constraints etc.
0
 
sdstuberCommented:
try dba_tables

or, is it a synonym pointing to other tables?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
johnsoneSenior Oracle DBACommented:
Since you do not appear to own it, my guess is that it is a synonym.  Since it didn't show up in USER_OBJECTS, it is probably a public synonym.  If it is not showing in USER_OBJECTS, I would be looking at ALL_OBJECTS.
0
 
DavidSenior Oracle Database AdministratorCommented:
Perhaps my fellow experts are overlooking that you are specifying a lower case string....  try one more time with:

SELECT OWNER, OBJECT_NAME FROM SYS.ALL_OBJECTS
WHERE OBJECT_NAME LIKE UPPER('%ANV%')
ORDER BY 1,2
/

Also, a courtesy reminder that USER_ returns those objects in one's own schema; ALL_ adds those other schemas' objects to which you have been granted SELECT privilege; and DBA_ returns all objects in the data dictionary but requires DBA system privilege to do so.
0
 
marcguAuthor Commented:
Hi!

ANVANDARE had the object_type SYNONYM and I found it when I queried SYS.ALL_OBJECTS. Now, I can go on Learning more about SYNONYMS. Thanks a lot.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now