Viewing post 1 (of 2 total)
This thread helped me but the above could be reduced to:
DECLARE @lastc int;SELECT @lastc = ISNULL(MAX(CCGLId), 0) FROM CGL;DBCC CHECKIDENT ('CGL', RESEED, @lastc);
July 22, 2019 at 3:10 pm
#3665110