Could somebody tell what is wrong with obvious query below:
db2 => select next value for schema_name.sequence_name;
As a result I'm getting:
SQL0104N An unexpected token "END-OF-STATEMENT" was found following
"schema_name.sequence_name". Expected tokens may include: "<table_expr>".
SQLSTATE=42601