Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
gireesh1216
Creator II
Creator II

How to run multiple store procedure at one time?

Hi,

I have a stored procedure which contains multiple store procedures.I ran in SQL DEVELOPER.Hear i am getting 7 tables.But same procedure i ran in Qlikview.so I am not getting anything.

Please find my store procedure below:

This procedure running in qlikview but not getting anything...Please help me..

CREATE PROCEDURE [dbo].[MAIN_DATABASE]

           

AS

BEGIN

            --SP to populate Summary tab1

            EXEC [A_DB_Summary]

           

            --Sp to populate Summary tab2

            EXEC [B_DB_Summary]

           

            --SP to populate Details tab 5

            EXEC [C_DB_Details]

END

Thanks

Gireesh

3 Replies
marcus_sommer

I'm not sure but I think qlik expected to receive one table by each sql-statement and not several tables. Further I'm not sure if your used db-driver could handle this scenario.

- Marcus

jsakalis
Contributor III
Contributor III

I executed stored procedures quite a while back and found that I had to go to:

User Preferences->Security and check "Script (Allow Database Write and Execute Statements)"

gireesh1216
Creator II
Creator II
Author

Hi

I check the "(Allow Database Write and Execute Statements)" option

But still not working