Dúvidas, dicas e truques de SQL, Select, Update, Delete, cláusulas, operações com joins, Funções em SQLs, etc
Renato Menezes Viana
Rank: Analista Pleno
Posts: 128 Joined: Sat, 18 Nov 2006 11:51 am
Location: Rio de Janeiro - RJ
Thu, 22 May 2014 11:23 am
Personnel:
Holy ignorance ... I was using the Oracle SQL Developer and he was autocompletting, for example, a SELECT command.
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
Posts: 128 Joined: Sat, 18 Nov 2006 11:51 am
Location: Rio de Janeiro - RJ
Thu, 22 May 2014 12:11 pm
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
dr_gori
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
Fri, 23 May 2014 1:28 pm
All_dependencies only shows the objects that you are allowed to see.
DBA_Dependencies shows all objects of the bank.
fbifabio
Moderador
Posts: 199 Joined: Tue, 22 Feb 2011 1:51 pm
Location: São Paulo - SP
Contact:
Fábio Prado
www.fabioprado.net
Fri, 30 May 2014 5:54 pm
@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.
Users browsing this forum: No registered users and 22 guests