manutektips
Programmer
Hi,
I have an oracle prodecure which has 6 input parameters and 1 output parameter.
The definition of the procedure is :
CREATE OR REPLACE PROCEDURE terr_insert (
terrid IN NUMBER DEFAULT NULL,
terrversion IN NUMBER DEFAULT NULL,
terr IN VARCHAR2 DEFAULT NULL,
reprative IN NUMBER DEFAULT NULL,
verate IN DATE DEFAULT NULL,
iss IN VARCHAR2 DEFAULT NULL,
rc1 OUT globalpkg.rct1
)
where the globalpkg.rct1 is a cursor.
I am calling this procedure from ms access application as
Qsql$ = "{ call Terr_Insert( " & sql$ & ") }"
Set qdfOra = conISQM.CreateQueryDef("", Qsql$)
Set ResultSet = qdfOra.OpenRecordset()
where
sql$=95, Null, 'Vauxhall - ROW', 0, Null, 'manager'
The execution of this is giving some error. Please help
regards,
I have an oracle prodecure which has 6 input parameters and 1 output parameter.
The definition of the procedure is :
CREATE OR REPLACE PROCEDURE terr_insert (
terrid IN NUMBER DEFAULT NULL,
terrversion IN NUMBER DEFAULT NULL,
terr IN VARCHAR2 DEFAULT NULL,
reprative IN NUMBER DEFAULT NULL,
verate IN DATE DEFAULT NULL,
iss IN VARCHAR2 DEFAULT NULL,
rc1 OUT globalpkg.rct1
)
where the globalpkg.rct1 is a cursor.
I am calling this procedure from ms access application as
Qsql$ = "{ call Terr_Insert( " & sql$ & ") }"
Set qdfOra = conISQM.CreateQueryDef("", Qsql$)
Set ResultSet = qdfOra.OpenRecordset()
where
sql$=95, Null, 'Vauxhall - ROW', 0, Null, 'manager'
The execution of this is giving some error. Please help
regards,