problem when executing Oracle stored proc : ORA-01036 . Urgent Please
From: JMG (jmgranier_at_agilog.fr)
Date: 08/24/04
- Next message: Del Murray: "Re: Delphi 5 + Win 2K"
- Previous message: Arnie Mauer: "Re: ADO DB2 Exception Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 24 Aug 2004 17:35:13 +0200
Hello,
Delphi 5
Oralce 8 or 9.
use of TADOStoredProc
I get ORA-01036 illegal variable name/number when I open a stored proc.
I don't know why. In PL Sql Developper, the test is OK.
Here is my delphi code :
with ADOStoredProc1 do
begin
Close;
ProcedureName := 'P_CLASSCAT_LG';
Parameters[0].Value := 'F';
Open;
end;
Here is the stored procedure :
CREATE PROCEDURE P_CLASSCAT_LG(
LANGUE IN VARCHAR2,
RC1 OUT globalPkg.RCT1
)
AS
BEGIN
OPEN RC1 FOR
SELECT DISTINCT C.CODE_CLA, C.CODE_TYPO, C1.DES_CLA, C.TYPE_CLA,
C.TYPE_MAT, LG_ABR
FROM CLASSCAT C, CLASSCAT_LG C1
WHERE
(C1.CODE_CLA (+) = C.CODE_CLA)
AND
(C1.LG_ABR (+) = P_CLASSCAT_LG.LANGUE);
END P_CLASSCAT_LG;
Can someone help me ?
regards
Jean-Michel
- Next message: Del Murray: "Re: Delphi 5 + Win 2K"
- Previous message: Arnie Mauer: "Re: ADO DB2 Exception Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|