Re: NULL vs. Empty String - Mailing list pgsql-general

From Daniel Kirkwood
Subject Re: NULL vs. Empty String
Date
Msg-id 003901c0ac53$08d95de0$170c0b0a@cairo.iteru.net
Whole thread Raw
In response to NULL vs. Empty String  (David Wheeler <david@wheeler.net>)
List pgsql-general
Of course, depending on the application, this could mean hand-modifying
every script... so my apologies if this was not what you were after ;)


> Could it be as simple as:

> $sth = $dbh->prepare("INSERT INTO table (row1, row2) VALUES (?, ?)");
> if ( $webinput eq "" ) { $webinput = undef ; }

> $sth->execute($webinput, $otherstuff);





pgsql-general by date:

Previous
From: "Torsten Krämer"
Date:
Subject: Binary Large Data on Postgres
Next
From: jdassen@cistron.nl (J.H.M. Dassen (Ray))
Date:
Subject: Re: Maximum size of one table