Re: [cx-oracle-users] setinputsizes problem?
Brought to you by:
atuining
From: Jason B. <jb...@gm...> - 2010-07-03 21:03:00
|
Thank you, but I'm using python - could you tell me what kind of a structure the argument should be? And how to populate it? My original function call was called with an array argument, an array containing all of the fields being inserted. On Sat, Jul 3, 2010 at 3:28 PM, Amaury Forgeot d'Arc <ama...@gm...>wrote: > Hi, > > 2010/7/3 Jason Boorn <jb...@gm...>: > [...] > > destination_cursor.setinputsizes(inputsizes) > [...] > > I get the following error: > > Could not insert: expecting an array of two elements [type, numelems] > > You pass only one argument to cursor.setinputsize; this will define > only one variable, this is certainly not what you want. Try with > destination_cursor.setinputsizes(*inputsizes) > to define multiple variables. > > -- > Amaury Forgeot d'Arc > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |