table function as physical table in Oracle BI EE

ぐ巨炮叔叔 提交于 2021-01-28 05:12:30

问题


how do I import oracle table function as physical table in Oracle BI EE ? Let's say it is

select * from scheme.table_function1(adate)

What is correct syntaxis for setting it as BI physical table? How do I specify input parameter (adate)?


回答1:


Create a new physical table manually in the repository, set the table type to "Select" and include your sql query.

Are you using a repository variable as input parameter? Assuming ADATE is a repository string variable, the syntax would be

select * from scheme.table_function1(  'valueof(ADATE)'  )

You will have to manually add the columns to the new physical table and make sure they match with the sql results.

Links:
Opaque views
Variable Syntax



来源:https://stackoverflow.com/questions/13789824/table-function-as-physical-table-in-oracle-bi-ee

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