SAP HANA alternative for cross apply

心不动则不痛 提交于 2019-12-12 11:31:58

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!