Hi,
I can't create a function to return a single value ?
In reference http://help.sap.com/hana/html/sql_create_function.html say that i can use Return <sql_type> or <table type>.
But I can't create a function to return a single sql_type. Like this:
CREATE FUNCTION teste123(a varchar(10)) RETURNS INTEGER
LANGUAGE SQLSCRIPT AS
BEGIN
return 10;
END;
Thank you.