问题
Is there an alternative in HANA sql for the "cross apply" operator as available in MsSql? Or is there a way to apply a function for values in a table? Something like
select T.*, F.* from T cross join someFunction(T.Value) F
回答1:
You can use the cross join in SAP HANA, that's not a problem. However, if you want to apply a function to all entries of T.VALUE then the query needs to look like this:
select T.*, someFunction(T.Value)
from T cross join F
来源:https://stackoverflow.com/questions/26020765/sap-hana-alternative-for-cross-apply