Skip to main content
Announcements
Qlik Cloud maintenance is scheduled for this weekend May 11-12. View maintenance windows per region here.

How to execute a Stored Procedure in Qlik that returns NO value

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Caterina_Fruci
Support
Support

How to execute a Stored Procedure in Qlik that returns NO value

Last Update:

May 10, 2022 3:14:14 PM

Updated By:

Jamie_Gregory

Created date:

Mar 28, 2022 2:55:30 AM

To execute a Stored Procedure in Qlik that does NOT return any value from an Oracle Database using  Qlik ODBC Connector Package the CALL control statement must be defined as below ( Fig.1 )to avoid the following error: 

ERROR [HY000] [Qlik][OracleOCI] (3000) Oracle Caller Interface: ORA-00900: invalid SQL statement 

 

LIB CONNECT TO 'DEVxxx';

SQL ALTER SESSION SET CURRENT_SCHEMA=K
         !EXECUTE_NON_SELECT_QUERY;

SQL  CALL  k.session#.open_session();

data:
      LOAD * ;
                 SQL select *
                           from k.doc
                           where rownum <10

;



Fig.1

Caterina_Fruci_0-1648222662209.png

 

Environment

 

Related Content

 


 

Labels (1)
Version history
Last update:
‎2022-05-10 03:14 PM
Updated by: