[TYPO3-mvc] Let Extbase Query check for NULL in database field

Martin Kutschker masi-no at spam-typo3.org
Tue Jan 19 10:08:10 CET 2010


David Schreiber schrieb:
> Hello everybody,
> 
> I have two questions:
> 
> First, is there a difference between NULL and 0 in MySql Database?

Certainly. If the table definitions allows it some columns may contain NULL values (see Mysql docs).
AFAIK 0 and NULL are distinct in all RDBMSs. Only Oracle makes no distinction between '' (empty
string) and NULL.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list