Jump to content
Software FX Community

How to consume an MS SQL T-SQL Stored Procedure with a single parameter from a DataPart ?


ptzedakis

Recommended Posts

Hello,

I have created an MS SQL T-SQL stored procedure with a single NVARCHAR(10) input parameter, @BranchID.

I need to use it within a Chart and Advanced List DataParts, so I entered it in any of the following ways in the Change SQL query menu but nothing works. Please see below for what I have tried:

exec stp_KPORTAL_STORES_KPIS_StoreClientsPerHour '@input' (it is accepted, BUT, I don't get to connect @input to another Provider Filter web part, i.e. the Configure Parameters option/link does NOT show up in the ToolPane).

exec stp_KPORTAL_STORES_KPIS_StoreClientsPerHour @input (it is NOT accepted as valid SQL)

I need to present the user with different result set according to the input value of @BranchID. This value I am going to get from another Provider Filter Web Part I have created.

Can you please help?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...