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

Home -> Community -> Usenet -> c.d.o.server -> Re: using Oracle stored procedure

Re: using Oracle stored procedure

From: Devallé Thomas <thomas.devalle_at_skynet.be>
Date: Tue, 2 Jan 2001 17:44:42 +0100
Message-ID: <92tfrf$220$1@news0.skynet.be>

I've never had problems vith TStoredProcedures... Check the Param Type... <xiaozhang_at_my-deja.com> wrote in message news:92ecqq$fp3$1_at_nnrp1.deja.com...
> Hi:
> I am new to delphi.
> Could someonw help me and let me know how to call select Oracle stored
> procedure from delphi program. such as the following Oracle proc.
>
> CREATE OR REPLACE PROCEDURE TESTER1.PRO_TEST1
> (v_isactive IN atsschedule.isactive%TYPE )
> AS
> i number;
> v_name atsschedule.taskname%TYPE;
> cursor c1 is
> select taskid, taskname from atsschedule
> where isactive = v_isactive;
> BEGIN
> For tk In c1 LOOP
> i := tk.taskid;
> v_name := tk.taskname;
> END LOOP;
>
> END;
>
> I have tried to use different procedures and different components such
> as TStoredProc, TQuery and etc, but not working.
>
> Thanbks!
>
>
>
> Sent via Deja.com
> http://www.deja.com/
Received on Tue Jan 02 2001 - 10:44:42 CST

Original text of this message

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