Skip to content

IBM DB2 NEXT VALUE FOR concern

I am wondering when using the NEXT VALUE FOR does it lock the data area in the background? I want to make sure it does not create duplicate sequence numbers.

Get Sequence Current Value

I have a created sequence on my DB Server, used for generated registers and the detail of every one. I have to create a plain document of that detail in the moment of the generation, so I have to …