IDENTITY_ENFORCE_UNIQUENESS Option

Creates a unique HG index on each IDENTITY/AUTOINCREMENT column, if the column is not already a primary key.

Allowed Values

ON, OFF

Default

OFF

Scope

Can only be set temporary (for a connection), for a user, or for the PUBLIC group. Takes effect immediately.

Description

When option is set ON, HG indexes are created on future identity columns. The index can only be deleted if the deleting user is the only one using the table and the table is not a local temporary table.

Related reference
QUERY_PLAN Option