on ‎2016 Jul 31 11:20 AM
Hi Experts,
Can a Stored Procedure execute from a Select statement in HANA
Example:-
SQL Stored Procedure MY_PROC(IN IP INTEGER, OUT MSG VARCHAR(10));
Can I execute above procedure using a select statement
like SELECT OUT_MSG FROM......
Please help me out here.
Regards,
Jyoti Prakash Senapati
Request clarification before answering.
Hello Jyoti,
no, you cannot call a stored procedure from a SQL statement. If you wanna execute SQLScript coding from an SQL statement you have to use a User Defined Table Function.
With that you can write statements like SELECT * FROM myTableFunction().
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
there are different ways how procedures or SQLScript can be called on BW. It is depending on what you wanna reach.
For instance you can
Regards,
Florian
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.