MariaDB's SETVAL does not accept subqueries or variables as arguments.
I also tried with:
`ALTER SEQUENCE` and `CREATE SEQUENCE` give the same error when using queries or variables as `START` parameter.
Is there any way to specify an start value for sequence that is the output of another query?
I'm doing a migration code where we are going to introduce a couple of sequences and after a massive update I would like to `SELECT` the value where the sequence has to start. This will happen just ONCE.
Is this behaviour by design? If so, I think documentation on those 3 statements has to be explicit about this.