Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
datashaw
Contributor III
Contributor III

Execute Stored procedure from QlikView

Dear Exprets,

I'm looking for some assistance on below issue.

1. I'm trying to Execute SQL stored procedure from QlikView. example: SQL EXECUTE [xxx].[StoreProcedureName] '$(vStartDate)', '$(vEndDate)'
2. The particular stored proc have multiple temp tables with the SP.
3.  The Data is not populated when I execute from QlikView.  
4. But I can execute the same SP from SQL with the given parameters.

My question is Can I simply execute the SP in Qlikview or do I've only option to convert complete query into Qlikview. the reason its not a simple SP(around 400 line code)

please suggest me the solution 

Labels (2)
1 Reply
Brett_Bleess
Former Employee
Former Employee

This is most likely due to the Edit Script settings needing to be tweaked, you have to Allow the Execute there, see the attached screenshot.

Here is an article regarding running things via Publisher or Reload Engine as well, similar tweak that needs to be made in that case too:

https://support.qlik.com/articles/000021069

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.