SQL Developer Select * from All ... Stopped AutoComplete

Dúvidas, dicas e truques de SQL, Select, Update, Delete, cláusulas, operações com joins, Funções em SQLs, etc
Post Reply
Renato Menezes Viana
Rank: Analista Pleno
Rank: Analista Pleno
Posts: 128
Joined: Sat, 18 Nov 2006 11:51 am
Location: Rio de Janeiro - RJ

Personnel:

Holy ignorance ... I was using the Oracle SQL Developer and he was autocompletting, for example, a SELECT command.

Select all

SELECT * FROM ALL_
Shortly after entering ALL_ He showed all tables that contained ALL_ for me to select

Select all

ALL_USERS 
ALL_VIEWS 
ALL_PROCEDURES 
ALL_SOURCES 
...
How to return this great ease? Better I reinstall?

Thanks
Renato Menezes Viana
Rank: Analista Pleno
Rank: Analista Pleno
Posts: 128
Joined: Sat, 18 Nov 2006 11:51 am
Location: Rio de Janeiro - RJ

Personnel: Run miraculously.

It turns out that now I can not put in the simple code of a procedure the Select below:

Select all

CURSOR MELECA IS SELECT * FROM DBA_DEPENDENCIES;
I attached the screen of the Error:

Select all

Erro(21,32): PL/SQL: ORA-00942: table or view does not exist

Holy ignorance.
Attachments
DBA_DEPENDENCIES.zip
(292.1 KiB) Downloaded 391 times
Renato Menezes Viana
Rank: Analista Pleno
Rank: Analista Pleno
Posts: 128
Joined: Sat, 18 Nov 2006 11:51 am
Location: Rio de Janeiro - RJ

Personal: I used ALL_DEPENDENCIES instead of DBA_DEPENDENCIES is the same thing?
User avatar
dr_gori
Moderador
Moderador
Posts: 5024
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

All_dependencies only shows the objects that you are allowed to see.
DBA_Dependencies shows all objects of the bank.
User avatar
fbifabio
Moderador
Moderador
Posts: 199
Joined: Tue, 22 Feb 2011 1:51 pm
Location: São Paulo - SP
Contact:
Fábio Prado
www.fabioprado.net

@Renato Menezes Viana

only to complement the last response. DD visions can be consulted on 3 levels:

1 - USER_*
All objects that the user owns.
2 - ALL_*
All objects that the user owns + objects from other users that he has access privilege.
3 - DBA_*
All BD objects.

If you are not a DBA user or with administrative privileges you will only be allowed to see the first 2.


Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests