Quantcast
Channel: Toad Extension for Eclipse
Viewing all articles
Browse latest Browse all 978

Forum Post: RE: Not able to see package body unless I'm logged in as the schema owner

$
0
0
Tomas, you only see the package spec?   In Toad for Eclipse, under object explorer, I select "all schemas", choose wms_proc, choose packages, double-click on the package name. This opens the package and gives me a "Spec Source" tab (which shows the package spec and a "Body Source tab (which is empty). In SQLDeveloper, under connections, I select "other users", choose wms_proc, choose packages, click the (+) on the package, then select the package Body.  The package body opens in the editor (and is populated). MYUSER has the following session Privs: ------------------------------------------------------------------ --  PRIVILEGE CREATE SESSION ------------------------------------------------------------------ ------------------------------------------------------------------ --  PRIVILEGE CREATE SYNONYM ------------------------------------------------------------------ All other privileges are granted through a role. Along with many company-specific roles, I'm granted: ------------------------------------------------------------------ --  ROLE SELECT_CATALOG_ROLE ------------------------------------------------------------------ ------------------------------------------------------------------ --  ROLE TOAD_TECH_USR ------------------------------------------------------------------ How do I check if I have Resource privilege?  If I do, it is coming through a role. I can execute: select text from sys.all_source where OWNER = 'WMS_PROC' and type = 'PACKAGE' and name like '%MYPACKAGE%' order by line; When I do, I only see the source from the package spec. Results: "PACKAGE          mypackage " "AS " " FUNCTION some_function RETURN NUMBER; " END mypackage;

Viewing all articles
Browse latest Browse all 978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>