Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

how to REALLY predict the next autoincrement value

$
0
0
Because IDENT_CURRENT returns the identity seed (rather than zero or at least null, as one might expect) in a table that has never been assigned an identity value, it is impossible to use IDENT_CURRENT to predict the next identity seed, since for example in a table using a bigint identity type and an increment value of 1, IDENT_CURRENT will return the value 1 [the identity seed rather than the real current value] if the identity value has never been assigned, and also 1 if exactly one identity v

Viewing all articles
Browse latest Browse all 12198

Trending Articles



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