I was wondering if it\'s possible to do something like this (which doesn\'t work):
select cast( (exists(select * from theTable where theColumn like \'theValue
SELECT IIF(EXISTS(SELECT * FROM theTable WHERE theColumn LIKE 'theValue%'), 1, 0)