I have a view which unions multiple tables. One table has a bit column called VisibleToCustomer. One of the other tables does not have this, and I want to hard code it in the view. I can do this with strings:-
SELECT 'Fred' "VisibleToCustomer", ....
or even ints
SELECT 1 "VisibleToCustomer", ....
but how do I do it with a bit? I.e. I want to do something like
SELECT true "VisibleToCustomer", ....
but obviously the above doesn't work!