Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Running a MSSQL Server stored procedure

Can one run a Microsoft SQL Server stored procedure from a QV application and use it to write a report?  If so how can this be accomplished?

Regards.

Chris

1 Solution

Accepted Solutions
Gysbert_Wassenaar

First you create a connection to the database and then you execute the stored procedure.

SQL Exec MyStoredProcedure(Parameter1, Parameter2, ...etc );


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar

First you create a connection to the database and then you execute the stored procedure.

SQL Exec MyStoredProcedure(Parameter1, Parameter2, ...etc );


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Many thanks Gysbert most appreciated

rustyfishbones
Master II
Master II

Example below, where the parameters are pointing to Qlikview Variables, that can be changed via an Input Box on the Qlikview front end.

Still figuring it all out!

ODBC CONNECT TO Extreme;

SQL EXECUTE dbo.spUPS

  @Shipper = [$(vShipper)],

  @OrderNo = $(vOrderNo),

  @OrderAmount = $(vOrderAmount)

Anonymous
Not applicable
Author

Thank you very  much Alan