Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

UDFunctions Table to Table

$
0
0

Hello there,

 

recently I try to define some UDFs which map tables to tables. Therefore I've written an hdbfunction file like this:

 

FUNCTION "NEO_X"."project.logic::simpleFunc" (IN val "project.structures::tt_simpleTable" )   RETURNS TABLE ( res VARCHAR(500) )  LANGUAGE SQLSCRIPT  SQL SECURITY INVOKER AS
BEGIN  RETURN SELECT CONCAT (COL1, COL2) FROM val;
END;

But this results in an error while activating it, saying that "DEV_"."val" is not defined... well of course it's not!

 

What am I doing wrong here?

 

Thanks.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>