Hi  Divya,
  here is ur modified script.
declare
id number;
lv_function_name varchar2(100);
y varchar2(40);
z number;
t number;
begin
  select function_names
  INTO   lv_function_name
  from    func;
id:=dbms_sql.open_cursor;
y:='select '||lv_function_name||' from dual';
dbms_sql.parse(id,y,dbms_sql.NATIVE);
dbms_sql.define_column(id,1,z);
t   := dbms_sql.execute_and_fetch(id);
dbms_sql.column_value (id,1,z);
dbms_output.put_line('z   '||to_char(z));
dbms_sql.close_cursor(id);
end;

Pulikkol Nitheesh Kumar. Software Engineer.
Mannai Corporation C.O.S,PO.Box 76.
Doha, Qatar. Phone. 4412-555 Extn.(363), 4641382 (R).
http://mannai.com.qa



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Pullikol Kumar
  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