HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by lgas | Hacker News Reader
Parent
Full thread
lgas
·
why not just `select * from table where false` ?
View on HN
sixbrx
·
some databases such as Oracle do not support boolean literals or boolean at all as a user accessible type
codeulike
·
SQL Server doesn't have boolean literals like that, hence the (1=0) trick
Reply on news.ycombinator.com