- August 12–22: Online Training (EU shift)
- Enrollment
- FOSDEM Impressions
- June 8–18: Online Training (US shift)
- November 11-12 in Frankfurt am Main
- Online-Training in July and August
- Oracle + PostgreSQL
- Party time
- PostgreSQL Performance Event
- SQL Server Performance Kurs in Stuttgart
- SQL Server performance training in London
- Shipping Terms
- The two top performance problems caused by ORM tools
- Top Tweets January 2013
- Training Survey
- Use The Index, Luke
- Ask
- Consulting
2010-10-20Myth: Oracle Cannot Index NULL
The source of this myth is rather easy to understand when you look at the correctly expressed statement:
The Oracle database does not include rows into an index if all indexed columns are
NULL.
The difference between the myth and the reality is small—it seems that the myth is a sloppy form of the truth.
The truth is that NULL can be indexed by adding another not nullable column to the index:
CREATE INDEX with_null ON table_name (nullable_column, '1');
Read Section 6.1 for the full story.
Stay connected:
RSS Feed
Like on Facebook
Follow me on Twitter
Share at Google+
RSS FeedFlattr this! Follow me on TwitterShare at Google+Like on Facebook