Can we pass null value in Unique Id
By Vikas in SQL Server on Mar 23 2021
  • Kirtesh Shah
    Apr, 2021 7

    Yes, we can.

    The Unique constrain mainly use to restrict duplicate values insertion and ensure that column has a unique value. It will not allow you to enter the duplicate NULL value in the column but allow you to insert a unique(Single) NULL value in the column.

    • 1
  • Rahul Pal
    Mar, 2021 27

    Yes You can .But only one Null value

    • 0
  • Kiran Mohanty
    Mar, 2021 24

    Yes, But only once . Provided column value is nullable

    • 0

Most Popular Job Functions