Beginner |
|
Joined: Sun Oct 05, 2003 9:02 pm Posts: 27 Location: New York, NY
|
Hi-
Having a query with multiple parameters, I sometimes need to execute it with one of the parameters having a value of null. Other times, the parameter does have a value set.
Is there any way to accomplish this with a single query using setParameter?
It seems it could be accomplished with two different queries -- one using "is null" and the other using the setParameter approach, but that is a bit too messy.
Any help is appreciated.
Thanks
|
|