Начало » Использование СУБД » Microsoft SQL Server » Как заменить Identity на Sequence
Как заменить Identity на Sequence [сообщение #399] |
Mon, 29 August 2022 00:16 |
BlackEric
Сообщений: 358 Зарегистрирован: June 2022
|
Senior Member |
|
|
How to replace an identity column with a sequence number
Цитата:Microsoft introduced the sequence number objects starting with SQL Server 2012. A sequence object generates sequence numbers based on starting and increment values, similar to an identity column, but it has additional features. Over time, you might find that the additional benefits of a sequence number have you wanting to replace an identity column with a sequence number. This article demonstrates two options for replacing an identity column with a sequence number.
|
|
|
Переход к форуму:
Текущее время: Fri Nov 15 07:09:30 GMT+3 2024
Общее время, затраченное на создание страницы: 0.00522 секунд
|