Re: Values as Null
| From: | marek at foundmoney dot com | Date: | Tue, 25 Jul 2000 15:31:19 +0000 |
| Subject: | Re: Values as Null | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1470@lists.php.net to get a copy of this message | ||
1, You can set it to null, ie UPDATE test SET col1=NULL;
2, UPDATE test SET col1='';
;
Chris Hughes wrote:
> How can you set values as null. I know you can't just set it equal to
> 'NULL' as null means nothing and you can't set something equal to nothing.
> Anyway, without getting into database theory can someone tell me how to make
> a value null?
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net