Delete comment from: Javarevisited
If you want to run query by commenting conditions, you better write
where 1=1
and id > 100
and name like '%s%'
Jan 16, 2017, 9:46:33 AM
Posted to A Better way to write Complex SQL queries for Programmers
If you want to run query by commenting conditions, you better write
where 1=1
and id > 100
and name like '%s%'
Jan 16, 2017, 9:46:33 AM
Posted to A Better way to write Complex SQL queries for Programmers