Question

As everybody working with Oracle knows, it an empty Varchar2 will result in a NULL value when put into a Varchar2 column.

I (and a coworker as well) thought we had read about a parameter that could be set in the database to change that behavior and actually differentiate between null values and empty Strings.

Is there such a parameter in the new versions? (We think since 10g)

Or is there a parameter which we might confuse with it with?

Was it helpful?

Solution

No, Oracle internally stores empty strings and nulls identically, so it cannot distinguish between them whether it wants to or not! Both are stored as a zero character count and no other data.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top