Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lgas
· 3y ago · 0 comments
why not just `select * from table where false` ?
Comments
[–]
sixbrx
3y ago
some databases such as Oracle do not support boolean literals or boolean at all as a user accessible type
[–]
codeulike
3y ago
SQL Server doesn't have boolean literals like that, hence the (1=0) trick