Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

Sequence restarted at restart server???

$
0
0

I've created a sequence for a logging table:

CREATE SEQUENCE [dbo].[LoggingSequence] 
 AS [bigint]
 START WITH 110356
 INCREMENT BY 1
 MINVALUE 1
 MAXVALUE 9223372036854775807
 CACHE  2000 
GO

But now it has happened twice that after a restart of the server, the sequence is restarted...

Huh? And i've tested it on a different server and there it is working as aspected, so why not on our production server???

Regards,

Henk


Kind regards, Henk


Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>