This is the best way ...
prompt This is only available from 9i onwards
prompt EXAMPLE below
prompt
set long 20000
set pages 999
set lines 80
select dbms_metadata.get_ddl('VIEW','DBA_USERS') from dual;
You can look at VIEWS, TYPES, PROCEDURES, etc with this. Just alter the
script - here I have used the DBA_USERS view as an example only.
-----Original Message-----
From: Anthony Ballo
[mailto:oracledba-ezmlmshield-x36035373.[Email address protected]
Sent: 02 January 2007 22:01
To: LazyDBA Discussion
Subject: ALL_SOURCE
When I perform a select on a procedure from this view, the text is
returned in hex-looking text (wrapped?) - is there a way to view these
kinds of things?
---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
****************************************************************************
****
IMPORTANT NOTICE
House of Fraser (Stores) Limited
Registered office: Granite House, 31 Stockwell Street, Glasgow G1 4RZ
Company Number: 10677
If you have received this e-mail in error, please notify the sender and
delete the e-mail and attachments immediately. This e-mail (including any
attachments) may contain confidential and/or privileged information. If you
are not the intended recipient, any reliance on, use, disclosure,
dissemination, distribution or copying of the e-mail or attachments is
strictly prohibited.
We have checked for viruses but the content of an attachment may still
contain software viruses, which could damage your computer system. We do not
accept liability for any damage you sustain as a result of a virus
introduced by this e-mail or attachment and you are advised to use
up-to-date virus checking software. E-mail transmission cannot be guaranteed
to be secure or error free.
This e-mail is not intended nor should it be taken to create any legal
relations, contractual or otherwise.
To view our latest in-store news click on: http://www.houseoffraser.co.uk
****************************************************************************
****
Oracle LazyDBA home page