Re: NULL vs. Empty String

Поиск
Список
Период
Сортировка
От Daniel Kirkwood
Тема Re: NULL vs. Empty String
Дата
Msg-id 003901c0ac53$08d95de0$170c0b0a@cairo.iteru.net
обсуждение исходный текст
Ответ на NULL vs. Empty String  (David Wheeler <david@wheeler.net>)
Список 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 по дате отправления:

Предыдущее
От: "Torsten Krämer"
Дата:
Сообщение: Binary Large Data on Postgres
Следующее
От: jdassen@cistron.nl (J.H.M. Dassen (Ray))
Дата:
Сообщение: Re: Maximum size of one table