Subject error 817 when trying to declare a UDF function
Author Phil Scadden
When I try to declare a function in the ib_udf

DECLARE EXTERNAL FUNCTION bin_xor
INTEGER, INTEGER
RETURNS INTEGER BY VALUE
ENTRY_POINT "IB_UDF_bin_xor" MODULE_NAME "ib_udf";

I get the error
"-Metadata update statement is not allowed by the current database SQL dialect 3"

What am I doing wrong here??

----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
41 Bell Rd South, PO Box 30368, Lower Hutt, New Zealand
Ph +64 4 5704821, fax +64 4 5704603