tbh it's logical if you are using "or"...
no need to generate that part of the where clause if you know if one of those variables is empty.
the result will be all records (because everything matches like "%%")
the whole "filter" became pointless.
tbh it's logical if you are using "or"...
no need to generate that part of the where clause if you know if one of those variables is empty.
the result will be all records (because everything matches like "%%")
the whole "filter" became pointless.