NULL: Set Keyword
/**
* Sets the named property according to which DBMS is in use
*
* @return boolean true if successful. Does die() if the DBMS is unkown.
*/
function setNullKeyword() {
switch ($this->phptype . ':' . $this->dbsyntax) {
case 'mssql:mssql':
case 'mysql:mysql':
case 'mysqli:mysqli':
case 'oci8:oci8':
case 'odbc:access':
case 'pgsql:pgsql':
case 'sqlite:sqlite':
case 'sybase:sybase':
$this->NullKeyword = ' NULL ';
break;
case 'fbsql:fbsql':
case 'ibase:firebird':
case 'odbc:db2':
$this->NullKeyword = ' ';
break;
default:
$this->NullKeyword = false;
die('unknown phptype/dbsyntax in setNullKeyword()');
}
return true;
}