开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜