Hello, I've found it very weird that simple code like this is not valid:
select * from table where field=true
The alternative apparently being
select * from table where field='true'
Ok, guess I can live with that. For one reason or another I needed to do something like this recently:
select true as somefield,...
The alternative to get types and everything right was much more ugly though:
select cast('true' as bit) as somefield,...
Am I missing something? Is there actually some built in way to get a true or false value as a boolean without casting?