on 04-10-2013 12:27 AM
Hi All,
I have requirement where I need to create a stored procedure that is called by a calc view.
In the stored procedure I have a list of input parameters in which I would like to pass into the WHERE clause of the SELECT statement.
My question is:
Is it possible to pass the list of input parameters into the WHERE clause and only use the input parameter if it is populated? i.e. if the input parameter is blank then ignore it and select all values for that particular column and if it is populated then select values applicable to the entered value?
Thanks!!
J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.