Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Querable table does not appear in USER_OBJECTS

Posted on 2014-03-23
6
Medium Priority
?
538 Views
Last Modified: 2014-03-23
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
Comment
Question by:marcgu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 39949132
different schemas

sqldeveloper will use the ALL_TABLES view
0
 

Author Comment

by:marcgu
ID: 39949139
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
 
LVL 74

Assisted Solution

by:sdstuber
sdstuber earned 100 total points
ID: 39949262
try dba_tables

or, is it a synonym pointing to other tables?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 35

Accepted Solution

by:
johnsone earned 600 total points
ID: 39949264
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
 
LVL 23

Assisted Solution

by:David
David earned 300 total points
ID: 39949383
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
 

Author Closing Comment

by:marcgu
ID: 39949596
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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question