Cyril Thankappan wrote:
> 
> U r right ..I still dunno 'much' about perl..
> 
> as for dbms_metadata
> 
> it is a built in pl/sql package
> 
> saying
> 
> 'select dbms_metadata.get_ddl(object_type,object_name,schema_name) from dual;
> 
> gives the entire ddl creation script.
> 
> However, 'interestingly'
> execute dbms_metadata.get_ddl does not work
> as well!
> 

Everything which works as select blahblah() from dual cannot work as
execute blahblah() (and vice versa). One is for functions (which return
something, in that case a string) and the other for procedures, which
return nothing. Do not get confused by the use of
dbms_output.put_line().
-- 
Regards,

Stephane Faroult
Oriole Ltd
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to