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

Home -> Community -> Usenet -> c.d.o.misc -> Re: DBMS_OUTPUT with C-programs

Re: DBMS_OUTPUT with C-programs

From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Wed, 04 Jun 2003 09:14:57 -0700
Message-ID: <3EDE1B01.2869DBE0@exxesolutions.com>


Florian Schmedding wrote:

> Does anybody know how to receive the text output from PUT_LINE commands
> within a PL/SQL procedure in a C program?
> I'm calling the PL/SQL procedures with embedded SQL.
> I can only receive the text output from RAISE_APPLICATION_ERROR
> statements.
>
> Second question:
>
> How can I get a procedure's schema name within the procedure in PL/SQL? Is
> there any function?
>
> Florian

You should not be using put_line but rather returning items with a REF CURSOR, VARRAY, or other structure.

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed Jun 04 2003 - 11:14:57 CDT

Original text of this message

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