Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> VB5+STORED PROCEDURE+ARRAY
Hi all
i'm working with Oracle7 Server Release 7.3.4.0.0 and VisualBasic
5.0(SP3) using ODBC.
My questions is :
I've create a package as :
TYPE tab_c_some IS TABLE OF tab_some.some%TYPE
INDEX BY BINARY_INTEGER;END PK_1;
I've create a STORED PROCEDURE as :
( v_some PK_1.tab_c_some ) IS
......................... ........................
-------------------------------------------------
Whit Visual Basic i call my_proc as:
dim sql as string
sql = "P1352P28(?)"
sql = "begin " & sql & "; end;"
Set qdfTemp = dbCsicli.CreateQuery("", sql)
With qdfTemp
.rdoParameters(0).Direction = dbParamInput .rdoParameters(0).Type = rdTypeINTEGER .rdoParameters(0).Name = "some" Set rstTemp = .OpenResultset()
With ".Type=rdTypeINTEGER" i've an ERROR, will i use a different "type" or will i use a different mechanism ??
Thank you,
Flavio
P.S. Sorry for my ENGLISH ;-) Received on Tue Jan 12 1999 - 09:28:43 CST
![]() |
![]() |