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

Dynamic Parameters

Hi,

I'm using parameters where i hardcoded some values. Like '3' where i'm passing severity3, '2' where i'm passing severity2. so that while running reports, just i choose the parameters data ang get the output.

Is it possible todo in dynamic. can anyone explain.

Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2011 at 10:38 AM

    are you hard coding the values in command sql?

    can you post an example of SQL

    Thanks,

    Shantanu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2011 at 05:11 AM

    This is independent wrt versions has to work in both.....

    What is the data type of the number column in the data base?

    if it is varchar you need to give number = '2'

    In add command

    select * from table where number = '{?param}' -- this by default work dynamically, need not check any thing for dynamic

    created a parameter as param, data type as varchar --

    Thanks,

    Ganesh

    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.