Reputation: 8388
I need to substitute a "true" value into queries condition. How can I do it?
1 , true didn't work. Do I really have to write 7=7 or some crap of this kind?
Upvotes: 1
Views: 760
Reputation: 13986
Yep, typically 1=1 or 1=0. There is no other way in T-SQL.
Upvotes: 3