I'm having a bit confusion in using a statement like "where 0=0" in Oracle procedures? Can someone please clarify it? Even though we do it for dynamic selection, why do we add this statement even though we append the actual condition in the query? Will this where condition make any difference to the result set?..
I went through How can I Select all rows where column contain any words of a string?
but I didn't exactly understand the reason for using where 0=0
.
Can some one please give me the proper reason for using such a condition?