sql server: boolean literals
I need to substitute a "true" value into queries conditio开发者_StackOverflow中文版n. How can I do it?
1 , true didn't work. Do I really have to write 7=7 or some crap of this kind?
Yep, typically 1=1 or 1=0. There is no other way in T-SQL.
精彩评论