Board index » delphi » Using dbExpress Stored Procedure Component and Oracle 9i Stored Procedure
Daniel Johnson
![]() Delphi Developer |
Sun, 16 Jan 2005 00:19:00 GMT
Using dbExpress Stored Procedure Component and Oracle 9i Stored Procedure
I'm trying to execute a stored procedure on an Oracle database with
parameters. When I call the ExecProc method I get " List index out of bounds (0)". I created the parameters dynamically using Params.CreateParam method. I also created the parameters manually by selecting the component and adding them to the params (Tparams) property. The stored procedure basically inserts the data into two tables. Any help would be appreciated. Here's the Oracle Stored Procedure below: CREATE OR REPLACE PROCEDURE SYSDBA.SP_INS_OBJ_DATA_STRING ( BEGIN INSERT INTO OBJECT_DATA_STRING ( DAT_STR_MODIFIED_DATE,DAT_STR_MODIFIED_TYPE,DAT_STR_LANGUAGE_ID,DAT_STR_DAT INSERT INTO HISTORY_DATA_STRING ( DAT_STR_MODIFIED_DATE,DAT_STR_MODIFIED_TYPE,DAT_STR_LANGUAGE_ID,DAT_STR_DAT COMMIT; END SP_INS_OBJ_DATA_STRING; Thanks... |