Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Function

RE: Function

From: Pullikol Kumar <pullikol.kumar_at_mannai.com.qa>
Date: Fri, 26 Oct 2001 23:31:28 -0700
Message-ID: <F001.003B654C.20011026233517@fatcity.com>

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: pullikol.kumar_at_mannai.com.qa

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: ListGuru_at_fatcity.com (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). Received on Sat Oct 27 2001 - 01:31:28 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US