|
|
#21 |
|
Участник
|
Более короткий и быстрый вариант для починки RecId для одной таблицы:
X++: begin tran declare @nextrecid bigint select @nextrecid = min(RecId) from <TABLE> update <TABLE> set @nextrecid = RecId = @nextrecid + 1 update SYSTEMSEQUENCES set NEXTVAL = @nextrecid + 1 where TABID = <TABLE_ID> commit |
|
|
| Теги |
| ax2009, recid, systemsequences |
|
|
| Опции темы | Поиск в этой теме |
| Опции просмотра | |
|