Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: calling stored procedure with an array parameter using Oracle Object for OLE (OO4O)
Alexander Smirnov wrote:
> On Jul 5, 1:57 am, DA Morgan <damor..._at_psoug.org> wrote:
> > > OraDatabase.ExeceSQL("insert into T(p) values(:p)");// works using > array parameter > OraDatabase.ExecSQL("begin insert_proc(:p); end;"); // doesn't work > using array parameter
One is SQL the other PL/SQL. The rules are different with regard to array types and permissions. Get out of OLE and run these from the SQL*Plus command prompt so you can see what is actually going wrong.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Thu Jul 05 2007 - 08:23:08 CDT