whats the syntax for writing a function ?
CREATE FUNCTION test RETURNS integer AS BEGIN return select 10 from dummy; END
this gives syntax error .
whats the syntax for writing a function ?
CREATE FUNCTION test RETURNS integer AS BEGIN return select 10 from dummy; END
this gives syntax error .