Share via


CreateIdSequenceAlias 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.]

Creates an alias for a sequence object that can be used to provide unique identifiers across multiple views or tables.

[Repository].[CreateIdSequenceAlias] ( @schemaAlias, @sequenceAlias, @schema, @sequence )

Arguments

@schemaAlias

Type: sysname. The schema that owns the sequence object alias.

@sequenceAlias

Type: sysname. The name of the sequence object alias.

@schema

Type: sysname. The schema of the sequence object to use when a new identifier is requested by using the alias. This sequence object must already have been created with the [Repository].[CreateIdSequence] procedure.

@sequence

Type: sysname. The name of the sequence object to use when a new identifier is requested by using the alias. This sequence object must already have been created with the [Repository].[CreateIdSequence] procedure.

Remarks

See Also

Reference

Repository Procedures
Repository Schema

Send comments about this topic to Microsoft.