Forum OpenACS Q&A: db_null not work?

Collapse
Posted by tammy m on
hi

i see this in the docs for db_null: Returns an empty string, which Oracle thinks is null. This routine was invented to provide an RDBMS-specific null value but doesn't actually work. I (DRB) left it in to speed porting - we should really clean up the code an pull out the calls instead, though.

is this true?! if so, seems like it really should be fixed since grep'ing the code for db_null gives me lots of hits. anyone have a version that does the right thing for whatever db it's on? thanks;)