Results 1 to 4 of 4
Thread: whether to use 1=1 or not?
Nov 19, 2009, 02:50 #1
whether to use 1=1 or not?
I would like to know if there is any performance problem while using 1=1 condition in sql query.
Such condition becomes handy in conditional search. For example
$sql_where .= " AND name='".$name."'";
And using in query:
Yours opinion please!!