One of the parameters is to set up an optional filter string (Criteria). Apparently the code uses the string regardless of whether an overriding value was provided or not. Using 1=1 in a WHERE clause returns a True value for all rows because 1 does equal 1.
the b/m code is part of sample database northwind code
I need to know what is the meaning of "1=1"
Posted by: John Viescas <email@example.com>
|Reply via web post||•||Reply to sender||•||Reply to group||•||Start a New Topic||•||Messages in this topic (2)|