Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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