CHAPTER 6 – PEAR DB – Empty String Handling

Option: DB_PORTABILITY_NULL_TO_EMPTY Oracle does not distinguish between NULL and '' (the empty string) when insert- ing text fields. If you fetch a row into which you just inserted an empty string, that field will end up as NULL. This option helps making this consistent by always converting NULL results to empty strings.

Post Comment
Login to post comments