List Info

Thread: Re: inserttable() NULL problem




Re: inserttable() NULL problem
country flaguser name
Germany
2007-09-12 16:20:04
Ryan Sobash wrote:
> I am having an issue inserting NULL values into a
database using the 
> inserttable() method.
> 
> The data are being entered into a column of type double
precision. I 
> have entered NULLs into it using the query() method,
but want to take 
> advantage of the increased speed of the inserttable()
method.
> 
> I have tried various strings to indicate a NULL value:
"None", "N", 
> "False", "NULL". This is the error
I receive:

Instead of using strings, try using a Python None value.

-- Christoph
_______________________________________________
PyGreSQL mailing list
PyGreSQLVex.Net
http
://mailman.vex.net/mailman/listinfo/pygresql

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )