Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#functional index

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

3 articles in the current browsing window, ordered by publication date.

MySQL Unique Indexes Allow Multiple NULLs: Why It Happens and How to Enforce True Uniqueness

This article explains why MySQL unique indexes permit multiple NULL values due to SQL's three-valued logic, demonstrates how this breaks upsert statements and causes silent duplicates, compares behavior across databases, and presents solutions using NOT NULL constraints, generated columns, and functional indexes to enforce true uniqueness.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.