Subject Firebird 2 parser error
Author Martijn Tonies
Hi,

Firebird 2 has a new syntax to get a sequence value:

next value for SEQ_TEST


If you do this:
select next value for SEQ_TEST
from rdb$database

IBO will send to the server:
select next value
, RDB$DATABASE.RDB$DB_KEY

This, however, works fine:
select (next value for SEQ_TEST)
from rdb$database


It seems something is wrong there.

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com