Subject Re: Getting the current value of a sequence using new syntax
Author sean_conaghan
try using either

INSERT INTO table1 etc

RETURNING id INTO :PK

or

NEXT VALUE FOR SEQUENCE

regards
SeanC