Forum Discussion
RakeshSinghr
Resolver I
6 years agoOracle Stored Proc in PBI Desktop
Hi, I need help with executing an oracle stored procedure that simply returns few columns. I'm getting "Oracle:ORA00900: invalid SQL statement" error. I'm using ref cursor - see below co...
- 6 years ago
For anyone in the same boat as me - Oracle stored proc with ref cursors can be executed within power bi desktop. It just need to be run with cursor variable declaration.
klinejordan
Advocate II
4 years agoAnonymous did you ever get this working (calling Oracle stored procedure through gateway)
Anonymous
4 years agoNot applicable
Hey klinejordan ! No, this is a known limitation that is well described on the online documentation, I just couldn't find that document before opening my question in here.
Mark Vaillancourt pointed me out to the document where this is disclosed:
"If you want to import data by using a native database query, put your query in the SQL statement box, which appears when you expand the Advanced options section of the Oracle database dialog. Power BI Desktop does not support Oracle native queries that execute a stored procedure and Oracle native queries in "begin ... end" block does not return any result set."