Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 22nd, 2004, 04:55 PM
mariuz's Avatar
mariuz mariuz is offline
Bug Hunter
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Transylvania (Romania)
Posts: 274 mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 12 m 34 sec
Reputation Power: 9
Where are located the packages ?

I want to take a look at source code for procedures but what they
are in packages and show nothing
If i do :
select DBMS_METADATA.GET_DDL('PROCEDURE',u.object_name)
from user_objects u
where object_type = 'PROCEDURE'
ps:
i'm using squirrel-sql with oracle plugin for taking a look at them
__________________
My home page: http://www.firebirdsql.org and work place :http://www.reea.net

Reply With Quote
  #2  
Old September 22nd, 2004, 05:19 PM
mariuz's Avatar
mariuz mariuz is offline
Bug Hunter
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Transylvania (Romania)
Posts: 274 mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 12 m 34 sec
Reputation Power: 9
Ok i found it

Quote:
select text from user_source
where name = '<your procedure>'
order by line

Reply With Quote
  #3  
Old September 22nd, 2004, 05:21 PM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,308 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 5 h 17 m 10 sec
Reputation Power: 48
The view ALL_OBJECTS will list any package.

The view ALL_SOURCE has the code for any of the packages. Note: PL/SQL can be compiled in such a way that you cannot get readable code from ALL_SOURCE. It's a twek Oracle came up with to protect their own stuff from prying eyes and your code if you want to. DBMS_OUTPUT source has this 'feature' for example.

Reply With Quote
  #4  
Old September 23rd, 2004, 05:00 AM
mariuz's Avatar
mariuz mariuz is offline
Bug Hunter
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Transylvania (Romania)
Posts: 274 mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 12 m 34 sec
Reputation Power: 9
Quote:
Originally Posted by jim mcnamara
The view ALL_OBJECTS will list any package.

The view ALL_SOURCE has the code for any of the packages. Note: PL/SQL can be compiled in such a way that you cannot get readable code from ALL_SOURCE. It's a twek Oracle came up with to protect their own stuff from prying eyes and your code if you want to. DBMS_OUTPUT source has this 'feature' for example.


Thank you very much now it works wit ALL_SOURCE
also i found TOra
http://www.globecom.net/tora/
and now i see some source code for PL/sql

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Where are located the packages ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT