RaiseErrorUniqueConstraintViolated Procedure (Repository Schema)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Raises an error when a unique constraint is violated on a column. The unique constraint specifies that all values for a given column must be unique.

[Repository].[RaiseErrorUniqueConstraintViolated] ( @schema, @table, @columns )

Arguments

@schema

Type: sysname. The name of the schema that is associated with the unique column.

@table

Type: sysname. The name of the table that contains the unique column.

@columns

Type: nvarchar(max). The column name that is involved with the unique constraint violation.

Remarks

See Also

Reference

Repository Procedures
Repository Schema

Send comments about this topic to Microsoft.