Getting the same sequence number from a sequence object

Is it possible that an SQL command select next value for 'sequence_object'executed from two applications for the same SQL database returns the same serial number at the same time? (I am using Azure SQL v12 database)

+4
source share
1 answer

No, and if that makes a mistake.

Sequence Numbers

The documentation mentioned in the comments above is pretty clear. The only time you are going to get the same value from a sequence is when the sequence is reset and starts from the beginning.

0
source

All Articles