RE: Poll

2001-06-14 Thread Sterin, Ilya
That would kind of be dependent on each field wouldn't it? Defining NoNULL for a db or even a statement handle would default it to "" or 0, but what about the fields you want to keep NULL. I guess it's a good extra setting that can be easily implemented on the DBI or the driver level. Ilya ---

Poll

2001-06-14 Thread H . Merijn Brand
$handle->{NoNULL} = 1; # Disable NULL values to be implemented in DBI (though implementation in DBD would be easy too) if NoNULL is defined, change numerics passed as undef (representing NULL) as 0, and (var)char to "" Possibly to be extended for different types: $dbh->{NullTypes} =