简体   繁体   中英

How to run a SAP HANA stored procedure via an Oracle Database link

I have a Oracle database, which contains a database link to a SAP HANA server. I can select data from SAP HANA just fine, but I can't execute a stored procedure via the DB link. The stored procedure does not have any In or Out parameters.

Im calling it like this:

exec PROC_NAME@SAP_LINK();

What am I doing wrong?

There must be a Openquery where you can call the stored procedure ex : SELECT * FROM openquery(SAP_LINK,'CALL PROCNAME');

This should work i guess if you have a openquery function.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM