Q&A about the site for SharePoint enthusiasts
--select case when (select * where exists(1)) then 1 else 0 end --select @@version select case when (('' + + '') = '' ) then 1 else 0 end