Alter Sequence in SQL Server

Опубликовано: 16 Октябрь 2024
на канале: IT Port
1,176
7

Click here to Subscribe to IT PORT Channel :    / @itport28  

In this video you can see how to alter Sequence Object in SQL Server

Modifies the arguments of an existing sequence object. If the sequence was created with the CACHE option, altering the sequence will recreate the cache.
Sequences objects are created by using the CREATE SEQUENCE statement. Sequences are integer values and can be of any data type that returns an integer. The data type cannot be changed by using the ALTER SEQUENCE statement. To change the data type, drop and create the sequence object.
A sequence is a user-defined schema bound object that generates a sequence of numeric values according to a specification. New values are generated from a sequence by calling the NEXT VALUE FOR function