Re: How to convert None to null value

2007-09-07 Thread Steve Holden
Carsten Haese wrote: > On Fri, 2007-09-07 at 12:10 -0700, Dennis Lee Bieber wrote: >> On Fri, 07 Sep 2007 09:07:49 -0400, Carsten Haese <[EMAIL PROTECTED]> >> declaimed the following in comp.lang.python: >> >> >>> doesn't have a parameter binding mechanism, you should throw it away and >>> replace

Re: How to convert None to null value

2007-09-07 Thread Carsten Haese
On Fri, 2007-09-07 at 12:10 -0700, Dennis Lee Bieber wrote: > On Fri, 07 Sep 2007 09:07:49 -0400, Carsten Haese <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > > doesn't have a parameter binding mechanism, you should throw it away and > > replace it with a DB-API complain

Re: How to convert None to null value

2007-09-07 Thread Carsten Haese
row[7],row[8],row[10],row[11],row[12],row[14]) ) > > here row[4] column is having null value so python consides it as None > but will insert into the table it inserts as None not null value > > please help how to convert None to null value If you were using a D

Re: How to convert None to null value

2007-09-07 Thread Gabriel Genellina
En Fri, 07 Sep 2007 06:19:25 -0300, pradeep kumar <[EMAIL PROTECTED]> escribi�: > i am trying to insert records from one table to another table in postgres > sql using the the following code > > posConn.query("insert into > usr(usr_id,usr_name,usr_passwd,grp_cde,usr_type,usr_chk_till_val, \ > >

How to convert None to null value

2007-09-07 Thread pradeep kumar
will insert into the table it inserts as None not null value please help how to convert None to null value -- http://mail.python.org/mailman/listinfo/python-list