|
|
|
|
|
|
|
|
Problem in Retrieving An Array From Oracle Stored Procedure ![ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Joe on May 22, 2002 at 9:5:36: I am trying to return an array of char values from oracle (8.1.7) stored procedure to ASP. My procedure follows:create or replace type char_varray is varray(200) of char(15); create or replace procedure getusers(username out nocopy char_varray) is percount number default 1; I am able to get the array of values in SQL*Plus, but, NOT in ASP. The ASP code I use: Set cmdStoredProc = Server.CreateObject("ADODB.Command") T = (&H2000 OR 129) 'adArray or adChar cmdStoredProc.Execute When I load this page, I am getting the following error: ADODB.Command error '800a0d5d' Application uses a value of the wrong type for the current operation. I am able to retrieve one single char value. NOT an array of char values. I use ADO 2.7. Any help would be greatly appreciated. Thanks.
Post a Followup[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
|
Intranet Journal's Tutorials |
|
Managing Editor |