Skip to Content
author's profile photo Former Member
Former Member

sql stored procedure parameters

Post Author: sharonmtowler

CA Forum: Data Connectivity and SQL

i created a stored procedure to use as my datasource.

i have 2 parameters that i would like to have the option of selecting ALL when the report is run. I would prefer have that in the stored procedure instead of the report selection. I am not clear on the syntax i should use. Currently i have

field= that only returns distinct value

can anyone help?

thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 04, 2008 at 09:39 PM

    Post Author: Mark_BAA

    CA Forum: Data Connectivity and SQL

    When I use procs I don't add filters to the report. The sp parameters are called by the report (and therefore the enduser) at runtime. Try taking them out of any filters.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.