By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
@max_value := MAX(`Id`) |
---|
3 |
SETVAL(`MySequence`, 3) |
---|
3 |
NEXTVAL(`MySequence`) |
---|
4 |
@max_value := MAX(`Id`) |
---|
3 |
SETVAL(`MySequence`, 3) |
---|
3 |
NEXTVAL(`MySequence`) |
---|
4 |