On Jan 4, 4:32 pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Fri, 2008-01-04 at 00:03 -0800, Chris wrote:
> > You should bind all variables to save the pool.
>
> > cursor = connection.cursor()
> > cursor.executemany("""insert into as_siebel_hosts_temp
> > values (:whole, :
On Fri, 2008-01-04 at 00:03 -0800, Chris wrote:
> You should bind all variables to save the pool.
>
> cursor = connection.cursor()
> cursor.executemany("""insert into as_siebel_hosts_temp
> values (:whole, :lot, :of, :bind, :variables)
>"""
>
On Jan 4, 5:11 am, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Thu, 2008-01-03 at 17:25 -0800, t_rectenwald wrote:
> > On Jan 3, 7:47 pm, t_rectenwald <[EMAIL PROTECTED]> wrote:
> > > I have a python script that uses the cx_Oracle module. I have a list
> > > of values that I iterate through via
On Thu, 2008-01-03 at 17:25 -0800, t_rectenwald wrote:
> On Jan 3, 7:47 pm, t_rectenwald <[EMAIL PROTECTED]> wrote:
> > I have a python script that uses the cx_Oracle module. I have a list
> > of values that I iterate through via a for loop and then insert into
> > the database. This works okay,
On Jan 3, 7:47 pm, t_rectenwald <[EMAIL PROTECTED]> wrote:
> I have a python script that uses the cx_Oracle module. I have a list
> of values that I iterate through via a for loop and then insert into
> the database. This works okay, but I'm not sure whether I can use one
> cursor for all inserts
I have a python script that uses the cx_Oracle module. I have a list
of values that I iterate through via a for loop and then insert into
the database. This works okay, but I'm not sure whether I can use one
cursor for all inserts, and define it outside of the loop, or
instantiate and close the c