My Oracle Support Banner

How to Ensure Only One Record has a NULL Value for a Unique Index? (Doc ID 1342367.1)

Last updated on JANUARY 21, 2017

Applies to:

MySQL Server - Version 4.0 and later
Information in this document applies to any platform.

Goal

Learn how to change the behavior of MySQL, so only one record can have the value NULL in the UNIQUE index

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.