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.


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


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms